Compare commits
13 Commits
2c77f45b7e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f578fe894 | ||
|
|
a4827fa128 | ||
|
|
cf705ec2ec | ||
|
|
377e48aa0d | ||
|
|
6c30aaf6c8 | ||
|
|
b828a306fd | ||
| 0aec0f831e | |||
| 778681f603 | |||
|
|
a57a9a46a2 | ||
|
|
ec3c43a20a | ||
| f7d94aa6a8 | |||
| f6040886f1 | |||
| 278d4d187c |
99
flake.lock
generated
99
flake.lock
generated
@@ -21,16 +21,17 @@
|
||||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1622559957,
|
||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
||||
"lastModified": 1754405784,
|
||||
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
||||
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
@@ -70,11 +71,11 @@
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1756083905,
|
||||
"narHash": "sha256-UqYGTBgI5ypGh0Kf6zZjom/vABg7HQocB4gmxzl12uo=",
|
||||
"lastModified": 1758112371,
|
||||
"narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "b655eaf16d4cbec9c3472f62eee285d4b419a808",
|
||||
"rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -123,18 +124,20 @@
|
||||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1748186689,
|
||||
"narHash": "sha256-UaD7Y9f8iuLBMGHXeJlRu6U1Ggw5B9JnkFs3enZlap0=",
|
||||
"host": "gitlab.gnome.org",
|
||||
"lastModified": 1762869044,
|
||||
"narHash": "sha256-nwm/GJ2Syigf7VccLAZ66mFC8mZJFqpJmIxSGKl7+Ds=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "8c88f917db0f1f0d80fa55206c863d3746fa18d0",
|
||||
"type": "github"
|
||||
"rev": "680e3d195a92203f28d4bf8c6e8bb537cc3ed4ad",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"host": "gitlab.gnome.org",
|
||||
"owner": "GNOME",
|
||||
"ref": "48.2",
|
||||
"ref": "gnome-49",
|
||||
"repo": "gnome-shell",
|
||||
"type": "github"
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
@@ -144,11 +147,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1758653055,
|
||||
"narHash": "sha256-v2Pue/Xa9cDbKcrsOmhD8fiYR4No65z+ReAUBBvvE7g=",
|
||||
"lastModified": 1763416652,
|
||||
"narHash": "sha256-8EBEEvtzQ11LCxpQHMNEBQAGtQiCu/pqP9zSovDSbNM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "131f4e22c30c114378dcf6191cb75c97eba673d0",
|
||||
"rev": "ea164b7c9ccdc2321379c2ff78fd4317b4c41312",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -169,11 +172,11 @@
|
||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1758660031,
|
||||
"narHash": "sha256-/f1k6oL2UqpDxe0MasJyLpXJj80Az/TxBbEf4hinmgI=",
|
||||
"lastModified": 1763581369,
|
||||
"narHash": "sha256-HTLoe4UvnG5fWruO+zjnZJNCnKcbVM8eeSPpIlKHOyI=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "6e26dd2cece5430571b45ffe3d97213431b3e86f",
|
||||
"rev": "ca75677ad47613f6afbbc2c6142601fef0ac7631",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -202,11 +205,11 @@
|
||||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1758631239,
|
||||
"narHash": "sha256-EQecFZ5VZtNjN/yzDA/RV13fK3EdLPblcf9p5wVNACo=",
|
||||
"lastModified": 1763574558,
|
||||
"narHash": "sha256-PdXkgqtbVFdZNhmTrZLTDMGb4zzaSK2RnKUXM8bIDo4=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "3850739e445b95a73c2466a718ccaf3a9a406c06",
|
||||
"rev": "6fcdb9242e65ed5825e7fda2a7935b412588b63a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -217,11 +220,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1757943327,
|
||||
"narHash": "sha256-w6cDExPBqbq7fTLo4dZ1ozDGeq3yV6dSN4n/sAaS6OM=",
|
||||
"lastModified": 1762847253,
|
||||
"narHash": "sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR+ZdLX8IbrU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "67a709cfe5d0643dafd798b0b613ed579de8be05",
|
||||
"rev": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -233,11 +236,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1758427187,
|
||||
"narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=",
|
||||
"lastModified": 1763421233,
|
||||
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "554be6495561ff07b6c724047bdd7e0716aa7b46",
|
||||
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -248,11 +251,11 @@
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1758589230,
|
||||
"narHash": "sha256-zMTCFGe8aVGTEr2RqUi/QzC1nOIQ0N1HRsbqB4f646k=",
|
||||
"lastModified": 1763334038,
|
||||
"narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d1d883129b193f0b495d75c148c2c3a7d95789a0",
|
||||
"rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -274,11 +277,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1756961635,
|
||||
"narHash": "sha256-hETvQcILTg5kChjYNns1fD5ELdsYB/VVgVmBtqKQj9A=",
|
||||
"lastModified": 1758998580,
|
||||
"narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "6ca27b2654ac55e3f6e0ca434c1b4589ae22b370",
|
||||
"rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -317,11 +320,11 @@
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1758612110,
|
||||
"narHash": "sha256-iwADWo5aARai4TKBylPwBkg73gUTPjfrsLGr9Vrfa8g=",
|
||||
"lastModified": 1763590746,
|
||||
"narHash": "sha256-bsEu7Ohdo2OEudXdQzk+jc9fiO0rNMGaH+Wee7FXxNc=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "ef025b8de39802b05ed3f42d2045fd7324174f42",
|
||||
"rev": "3013f98e28e52b3bd3859b0c454554aae54d5060",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -381,11 +384,11 @@
|
||||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1754779259,
|
||||
"narHash": "sha256-8KG2lXGaXLUE0F/JVwLQe7kOVm21IDfNEo0gfga5P4M=",
|
||||
"lastModified": 1757716333,
|
||||
"narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "097d751b9e3c8b97ce158e7d141e5a292545b502",
|
||||
"rev": "317a5e10c35825a6c905d912e480dfe8e71c7559",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -397,11 +400,11 @@
|
||||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1754788770,
|
||||
"narHash": "sha256-LAu5nBr7pM/jD9jwFc6/kyFY4h7Us4bZz7dvVvehuwo=",
|
||||
"lastModified": 1757811970,
|
||||
"narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "fb2175accef8935f6955503ec9dd3c973eec385c",
|
||||
"rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -413,11 +416,11 @@
|
||||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1755613540,
|
||||
"narHash": "sha256-zBFrrTxHLDMDX/OYxkCwGGbAhPXLi8FrnLhYLsSOKeY=",
|
||||
"lastModified": 1757811247,
|
||||
"narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "937bada16cd3200bdbd3a2f5776fc3b686d5cba0",
|
||||
"rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -446,11 +449,11 @@
|
||||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1758577423,
|
||||
"narHash": "sha256-sB2GAOjhjoWnjU6A/uHNJiY6O3UeztV5pJAN2g1FkXU=",
|
||||
"lastModified": 1762747449,
|
||||
"narHash": "sha256-Z1TKiux8K09a93w4PFDFsj8HFugXNy3iCC3Z8MpR5Rk=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "03368548ba745e17a85bd631613a59cb2d8469a4",
|
||||
"rev": "6338574bc5c036487486acde264f38f39ea15fad",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
148
flake.nix
148
flake.nix
@@ -43,12 +43,17 @@
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}));
|
||||
#background = ./GitS_other_alley_zoom.png;
|
||||
background = ./GitS_alley_to_water_zoom.png;
|
||||
homeManagerSharedModule = {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.nathan = ((import ./home-manager/home.nix) { username = "nathan"; homeDirectory = "/home/nathan"; });
|
||||
home-manager.users.nathan = ((import ./home-manager/home.nix) { username = "nathan"; homeDirectory = "/home/nathan"; backgroundImg = background; email = "miloignis@gmail.com"; });
|
||||
};
|
||||
commonConfigFunc = ({ config, lib, pkgs, modulesPath, ... }: (specificPkgs: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"olm-3.2.16"
|
||||
];
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
time.timeZone = "America/New_York";
|
||||
@@ -94,7 +99,7 @@
|
||||
#image = ./ruinedmansion.jpg;
|
||||
#image = ./130_1zhJtUA.jpeg; #the city street
|
||||
#image = ./GitS_alley_to_water_zoom.png;
|
||||
image = ./GitS_other_alley_zoom.png;
|
||||
image = background;
|
||||
#image = pkgs.fetchurl {
|
||||
# url = "https://raw.githubusercontent.com/kiedtl/walls/refs/heads/master/green-tea.jpg";
|
||||
# sha256 = "sha256-+NcZMBnbEWurmkOkzdrxGwBlxzUO3Sitt6Uoq9plc7o=";
|
||||
@@ -102,13 +107,12 @@
|
||||
polarity = "dark";
|
||||
#polarity = "light";
|
||||
fonts = {
|
||||
# hehe casual as serif
|
||||
serif = { package = (make_besley pkgs lib); name = "Besley"; };
|
||||
#serif = { package = pkgs.recursive; name = "Recursive Sans Linear Static"; };
|
||||
#sansSerif = { package = pkgs.recursive; name = "Recursive Sans Linear Static"; };
|
||||
sansSerif = { package = pkgs.inter; name = "Inter"; };
|
||||
monospace = { package = pkgs.recursive; name = "Recursive Mono Linear Static"; };
|
||||
emoji = { package = pkgs.noto-fonts-emoji; name = "Noto Color Emoji"; };
|
||||
#monospace = { package = pkgs.maple-mono.truetype; name = "Maple Mono"; };
|
||||
emoji = { package = pkgs.noto-fonts-color-emoji; name = "Noto Color Emoji"; };
|
||||
};
|
||||
};
|
||||
programs.niri = {
|
||||
@@ -121,7 +125,7 @@
|
||||
extraPackages = with pkgs; [
|
||||
swaylock # lockscreen
|
||||
swayidle
|
||||
xwayland # for legacy apps
|
||||
#xwayland # for legacy apps
|
||||
#waybar # status bar
|
||||
mako # notification daemon
|
||||
kanshi # autorandr
|
||||
@@ -136,16 +140,15 @@
|
||||
};
|
||||
};
|
||||
# For steam, and Vulkan in general
|
||||
#hardware.opengl.driSupport = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.graphics.enable32Bit = true;
|
||||
hardware.steam-hardware.enable = true;
|
||||
programs.steam.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
tmux vim wget curl git w3m iftop iotop killall file unzip zip p7zip ripgrep imv killall
|
||||
btop htop python3
|
||||
waypipe firefox-wayland chromium chawan nautilus
|
||||
vlc mpv wayfarer libreoffice calibre foliate #transmission-gtk mupdf
|
||||
waypipe firefox chromium chawan cmatrix nautilus
|
||||
vlc mpv wayfarer libreoffice calibre foliate epr #transmission-gtk mupdf
|
||||
gimp
|
||||
pavucontrol pywal
|
||||
sway wayland glib dracula-theme adwaita-icon-theme swaylock swayidle wl-clipboard
|
||||
@@ -219,7 +222,7 @@
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
|
||||
#hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
@@ -262,6 +265,10 @@
|
||||
# displayManager.gdm.enable = true;
|
||||
# desktopManager.gnome.enable = true;
|
||||
#};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 8080 8081 ]; #30000 is minetest
|
||||
allowedUDPPorts = [ 8080 8081 ];
|
||||
};
|
||||
}))
|
||||
];
|
||||
};
|
||||
@@ -900,6 +907,125 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
virtualHosts."survey-test1.room409.xyz" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = pkgs.writeTextDir "index.html" ''<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Guest Survey</title>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="https://gatech.co1.qualtrics.com/jfe/form/SV_9txRmN3ky239cdo" height="800px" width="600px"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."survey-test2.room409.xyz" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = pkgs.writeTextDir "index.html" ''<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Guest Survey</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
.survey-wrapper { width:100%; max-width:1000px; margin:0 auto; }
|
||||
.survey-iframe { width:100%; height:80vh; border:0; min-height:600px; }
|
||||
</style>
|
||||
|
||||
<div class="survey-wrapper" role="region" aria-label="Survey">
|
||||
<div id="survey-container"></div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// 1) Read host-page query params
|
||||
const params = new URLSearchParams(location.search);
|
||||
|
||||
// 2) Get utm_campaign (example: RF777101202)
|
||||
const utmCampaign = params.get('utm_campaign');
|
||||
|
||||
// 3) Decide which Embedded Data field name Qualtrics should receive
|
||||
// (use 'Referral' if that's your embedded-data field in Qualtrics)
|
||||
if (utmCampaign) {
|
||||
params.set('Referral', utmCampaign);
|
||||
}
|
||||
|
||||
// 4) Optionally keep the original UTM values as well
|
||||
// (uncomment if you want them passed through)
|
||||
// params.set('utm_source', params.get('utm_source') || 'unknown');
|
||||
// params.set('utm_medium', params.get('utm_medium') || 'unknown');
|
||||
// params.set('utm_campaign', utmCampaign || "");
|
||||
|
||||
// 5) Build and insert the iframe with the serialized params
|
||||
const iframe = document.createElement('iframe');
|
||||
iframe.className = 'survey-iframe';
|
||||
iframe.title = 'Guest survey';
|
||||
iframe.allowFullscreen = true;
|
||||
|
||||
// Replace the base URL below with your Qualtrics anonymous survey URL
|
||||
const baseSurveyUrl = 'https://gatech.co1.qualtrics.com/jfe/form/SV_9txRmN3ky239cdo';
|
||||
iframe.src = baseSurveyUrl + '?' + params.toString();
|
||||
|
||||
document.getElementById('survey-container').appendChild(iframe);
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
'';
|
||||
};
|
||||
};
|
||||
virtualHosts."survey-test3.room409.xyz" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = pkgs.writeTextDir "index.html" ''<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Guest Survey</title>
|
||||
<style>
|
||||
.survey-wrapper { width:100%; max-width:1000px; margin:0 auto; padding:1rem; }
|
||||
.survey-iframe { width:100%; height:80vh; border:0; min-height:600px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="survey-wrapper" role="region" aria-label="Survey">
|
||||
<div id="survey-container"></div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const params = new URLSearchParams(location.search);
|
||||
const utmCampaign = params.get('utm_campaign');
|
||||
if (utmCampaign) {
|
||||
params.set('Referral', utmCampaign);
|
||||
}
|
||||
|
||||
const iframe = document.createElement('iframe');
|
||||
iframe.className = 'survey-iframe';
|
||||
iframe.title = 'Guest survey';
|
||||
iframe.allowFullscreen = true;
|
||||
|
||||
const baseSurveyUrl = 'https://gatech.co1.qualtrics.com/jfe/form/SV_9txRmN3ky239cdo';
|
||||
iframe.src = baseSurveyUrl + (params.toString() ? '?' + params.toString() : "");
|
||||
|
||||
document.getElementById('survey-container').appendChild(iframe);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."batou.room409.xyz" = {
|
||||
forceSSL = true;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
((import ./home.nix) { username = "nbraswell6"; homeDirectory = "/home/nbraswell6";})
|
||||
((import ./home.nix) { username = "nbraswell6"; homeDirectory = "/home/nbraswell6"; backgroundImg = "/home/nbraswell6"; email = "nathan.braswell@gtri.gatech.edu"; })
|
||||
#niri.nixosModules.niri
|
||||
niri.homeModules.niri
|
||||
];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ username, homeDirectory }: ({ config, pkgs, lib, ... }:{
|
||||
{ username, homeDirectory, backgroundImg, email }: ({ config, pkgs, lib, ... }:{
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
@@ -14,7 +14,8 @@
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
fira-code jetbrains-mono iosevka monoid recursive inter
|
||||
xwayland-satellite swww
|
||||
xwayland-satellite
|
||||
swww
|
||||
niri
|
||||
];
|
||||
|
||||
@@ -94,6 +95,12 @@
|
||||
|
||||
programs.niri.settings = {
|
||||
prefer-no-csd = true;
|
||||
# TV at 1080 instead of 4k
|
||||
outputs."DP-4".mode = {
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
refresh = 60.000;
|
||||
};
|
||||
input.keyboard.xkb = {
|
||||
options = "ctrl:nocaps";
|
||||
};
|
||||
@@ -102,14 +109,14 @@
|
||||
};
|
||||
spawn-at-startup = [
|
||||
{ command = [ "swww-daemon" ]; }
|
||||
{ command = [ "swww" "img" "${config.stylix.image}" ]; }
|
||||
{ command = [ "swww" "img" "${backgroundImg}" ]; }
|
||||
{ command = [ "waybar" ]; }
|
||||
{ command = [ "xwayland-satellite" ]; }
|
||||
];
|
||||
window-rules = [
|
||||
{
|
||||
draw-border-with-background = false;
|
||||
geometry-corner-radius = let r = 4.0; in {
|
||||
geometry-corner-radius = let r = 2.0; in {
|
||||
top-left = r;
|
||||
top-right = r;
|
||||
bottom-left = r;
|
||||
@@ -125,7 +132,9 @@
|
||||
}
|
||||
];
|
||||
layout = {
|
||||
gaps = 8;
|
||||
gaps = 4;
|
||||
#gaps = 4;
|
||||
#gaps = 8;
|
||||
#gaps = 16;
|
||||
center-focused-column = "never";
|
||||
preset-column-widths = [
|
||||
@@ -144,6 +153,7 @@
|
||||
# # Color of the ring on inactive monitors.
|
||||
# inactive.color = "#505050";
|
||||
#};
|
||||
border.width = 2;
|
||||
#border = {
|
||||
# enable = true;
|
||||
# width = 4;
|
||||
@@ -397,6 +407,7 @@
|
||||
};
|
||||
profileExtra = ''
|
||||
if [ -e /home/nathan/.nix-profile/etc/profile.d/nix.sh ]; then . /home/nathan/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||
. "$HOME/.cargo/env"
|
||||
export PATH="/run/system-manager/sw/bin/:/home/nbraswell6/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
|
||||
'';
|
||||
shellAliases = {
|
||||
@@ -410,7 +421,14 @@
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
userName = "Nathan Braswell";
|
||||
userEmail = "nathan@braswell.email";
|
||||
userEmail = email;
|
||||
};
|
||||
programs.jujutsu = {
|
||||
enable = true;
|
||||
settings.user = {
|
||||
name = "Nathan Braswell";
|
||||
email = email;
|
||||
};
|
||||
};
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
@@ -499,6 +517,7 @@
|
||||
'';
|
||||
};
|
||||
programs.emacs = {
|
||||
package = pkgs.emacs-pgtk;
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
(menu-bar-mode -1)
|
||||
@@ -511,36 +530,54 @@
|
||||
(setq show-paren-delay 0)
|
||||
(show-paren-mode)
|
||||
|
||||
;(require 'smartparens-config)
|
||||
|
||||
|
||||
(setq evil-want-C-u-scroll t)
|
||||
(setq evil-want-keybinding nil)
|
||||
(evil-mode 1)
|
||||
(evil-set-undo-system 'undo-redo)
|
||||
(setq key-chord-two-keys-delay 0.5)
|
||||
(key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
|
||||
(evil-collection-init)
|
||||
(key-chord-mode 1)
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("3ff4a0ad1a2da59a72536e6030291cf663314c14c8a5a9eb475f3c28436d071d" default)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
(load-theme 'dracula t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||
;(load-theme 'dracula t)
|
||||
'';
|
||||
extraPackages = epkgs: with epkgs; [
|
||||
evil key-chord magit proof-general
|
||||
#paredit
|
||||
#smartparens
|
||||
#parinfer-rust-mode
|
||||
rainbow-delimiters dracula-theme
|
||||
ement nov evil-collection
|
||||
rainbow-delimiters
|
||||
dracula-theme
|
||||
];
|
||||
};
|
||||
#services.pantalaimon = {
|
||||
#package = pkgs.pantalaimon.overridePythonAttrs { doCheck = false; };
|
||||
#enable = true;
|
||||
#settings = {
|
||||
#Default = {
|
||||
#LogLevel = "Debug";
|
||||
#SSL = true;
|
||||
#};
|
||||
#local-matrix = {
|
||||
#Homeserver = "https://synapse.room409.xyz";
|
||||
#ListenAddress = "127.0.0.1";
|
||||
#ListenPort = "8009";
|
||||
#};
|
||||
#};
|
||||
#};
|
||||
programs.iamb = {
|
||||
enable = true;
|
||||
settings = {
|
||||
settings = {
|
||||
image_preview = {};
|
||||
username_display = "displayname";
|
||||
sort = {
|
||||
rooms = ["recent"];
|
||||
};
|
||||
};
|
||||
profiles.miloignis = {
|
||||
user_id = "@miloignis:synapse.room409.xyz";
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
nix run --extra-experimental-features 'nix-command flakes' 'github:numtide/system-manager' -- switch --flake /home/nbraswell6/nix_config/system-manager
|
||||
sudo $(which nix) run --extra-experimental-features 'nix-command flakes' 'github:numtide/system-manager' -- switch --flake /home/nbraswell6/nix_config/system-manager
|
||||
|
||||
Reference in New Issue
Block a user