From 663e7fc52d683bc7bc48ff485a079c5fc755d195 Mon Sep 17 00:00:00 2001 From: KSPAtlas Date: Thu, 20 Feb 2025 20:24:28 +0000 Subject: [PATCH] add user fullname --- dotfiles/wezterm.lua | 8 +- flake.lock | 440 ++++--------------------------------------- flake.nix | 4 +- hm/ksp.nix | 8 +- nixos/gui.nix | 52 ++--- nixos/locale.nix | 1 + nixos/networking.nix | 10 + nixos/users.nix | 1 + 8 files changed, 88 insertions(+), 436 deletions(-) diff --git a/dotfiles/wezterm.lua b/dotfiles/wezterm.lua index bf95874..04d3f74 100644 --- a/dotfiles/wezterm.lua +++ b/dotfiles/wezterm.lua @@ -9,9 +9,11 @@ local config = wezterm.config_builder() -- For example, changing the color scheme: config.color_scheme = 'Monokai (base16)' config.font_size = 12.0 -config.tab_bar_at_bottom = true -config.use_fancy_tab_bar = false -config.hide_tab_bar_if_only_one_tab = true +config.tab_bar_at_bottom = false +config.use_fancy_tab_bar = true +config.window_decorations = "INTEGRATED_BUTTONS|RESIZE" +config.integrated_title_button_style = "Gnome" +config.hide_tab_bar_if_only_one_tab = false config.window_padding = { left = '5px', right = '5px', diff --git a/flake.lock b/flake.lock index 6af0130..36f9ec1 100644 --- a/flake.lock +++ b/flake.lock @@ -1,72 +1,5 @@ { "nodes": { - "base16": { - "inputs": { - "fromYaml": "fromYaml" - }, - "locked": { - "lastModified": 1732200724, - "narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=", - "owner": "SenchoPens", - "repo": "base16.nix", - "rev": "153d52373b0fb2d343592871009a286ec8837aec", - "type": "github" - }, - "original": { - "owner": "SenchoPens", - "repo": "base16.nix", - "type": "github" - } - }, - "base16-fish": { - "flake": false, - "locked": { - "lastModified": 1622559957, - "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", - "owner": "tomyun", - "repo": "base16-fish", - "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", - "type": "github" - }, - "original": { - "owner": "tomyun", - "repo": "base16-fish", - "type": "github" - } - }, - "base16-helix": { - "flake": false, - "locked": { - "lastModified": 1736852337, - "narHash": "sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/+2sYJa2o=", - "owner": "tinted-theming", - "repo": "base16-helix", - "rev": "03860521c40b0b9c04818f2218d9cc9efc21e7a5", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-helix", - "type": "github" - } - }, - "base16-vim": { - "flake": false, - "locked": { - "lastModified": 1732806396, - "narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=", - "owner": "tinted-theming", - "repo": "base16-vim", - "rev": "577fe8125d74ff456cf942c733a85d769afe58b7", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-vim", - "rev": "577fe8125d74ff456cf942c733a85d769afe58b7", - "type": "github" - } - }, "chaotic": { "inputs": { "fenix": "fenix", @@ -76,11 +9,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1739541414, - "narHash": "sha256-F3HAp7k9/ZCvD1642D5Q3jbP35jjOmyBAfTli9yc2oU=", + "lastModified": 1740016447, + "narHash": "sha256-96hBRGwuG+CFI5+inRIDCh0Za4LOt1dlbO3pFOokw6Y=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "946e012ae9ce4d3da5ff51b6e8f7bfbe8864db34", + "rev": "ed7900391a1969bb0bde432fd3952a6dda37114c", "type": "github" }, "original": { @@ -117,11 +50,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1739342042, - "narHash": "sha256-oi6joJyRviczLJeN8TEI1XVKVb+E/UCnMTtdIn/6fhg=", + "lastModified": 1739946876, + "narHash": "sha256-ek0u5FT5yjqYKjF/0HQKwDH2ISZzyvYwu+My5hmSwbU=", "owner": "nix-community", "repo": "fenix", - "rev": "2d0149540591393c61dfd29f6883ba712d24e04f", + "rev": "95c1eab59767a3dbb11d6616d4ff736813ce41d2", "type": "github" }, "original": { @@ -130,22 +63,6 @@ "type": "github" } }, - "firefox-gnome-theme": { - "flake": false, - "locked": { - "lastModified": 1736899990, - "narHash": "sha256-S79Hqn2EtSxU4kp99t8tRschSifWD4p/51++0xNWUxw=", - "owner": "rafaelmardojai", - "repo": "firefox-gnome-theme", - "rev": "91ca1f82d717b02ceb03a3f423cbe8082ebbb26d", - "type": "github" - }, - "original": { - "owner": "rafaelmardojai", - "repo": "firefox-gnome-theme", - "type": "github" - } - }, "flake-compat": { "flake": false, "locked": { @@ -162,22 +79,6 @@ "type": "github" } }, - "flake-compat_2": { - "flake": false, - "locked": { - "lastModified": 1733328505, - "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-schemas": { "locked": { "lastModified": 1721999734, @@ -194,28 +95,7 @@ }, "flake-utils": { "inputs": { - "systems": [ - "stylix", - "systems" - ] - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_2": { - "inputs": { - "systems": "systems_2" + "systems": "systems" }, "locked": { "lastModified": 1731533236, @@ -248,87 +128,6 @@ "type": "github" } }, - "fromYaml": { - "flake": false, - "locked": { - "lastModified": 1731966426, - "narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=", - "owner": "SenchoPens", - "repo": "fromYaml", - "rev": "106af9e2f715e2d828df706c386a685698f3223b", - "type": "github" - }, - "original": { - "owner": "SenchoPens", - "repo": "fromYaml", - "type": "github" - } - }, - "git-hooks": { - "inputs": { - "flake-compat": [ - "stylix", - "flake-compat" - ], - "gitignore": "gitignore", - "nixpkgs": [ - "stylix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1735882644, - "narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "a5a961387e75ae44cc20f0a57ae463da5e959656", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "stylix", - "git-hooks", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "gnome-shell": { - "flake": false, - "locked": { - "lastModified": 1732369855, - "narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=", - "owner": "GNOME", - "repo": "gnome-shell", - "rev": "dadd58f630eeea41d645ee225a63f719390829dc", - "type": "github" - }, - "original": { - "owner": "GNOME", - "ref": "47.2", - "repo": "gnome-shell", - "type": "github" - } - }, "harfbuzz": { "flake": false, "locked": { @@ -354,11 +153,11 @@ ] }, "locked": { - "lastModified": 1739381933, - "narHash": "sha256-4gvobxITgcrNGfwsVG5a46QzQCX89btIYw23p0ilbcc=", + "lastModified": 1739913864, + "narHash": "sha256-WhzgQjadrwnwPJQLLxZUUEIxojxa7UWDkf7raAkB1Lw=", "owner": "nix-community", "repo": "home-manager", - "rev": "15b59d4191b993ebdfcb1f61b834fced217882ba", + "rev": "97ac0801d187b2911e8caa45316399de12f6f199", "type": "github" }, "original": { @@ -374,32 +173,11 @@ ] }, "locked": { - "lastModified": 1739676861, - "narHash": "sha256-X86ptHMNVuu1Z9leL0YV2E/oxD2IgPYrYANPcvFYpNo=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "eb44c1601ed99896525e983bc9b15eb8b4d5879e", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "home-manager_3": { - "inputs": { - "nixpkgs": [ - "stylix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1737630279, - "narHash": "sha256-wJQCxyMRc4P26zDrHmZiRD5bbfcJpqPG3e2djdGG3pk=", + "lastModified": 1740060750, + "narHash": "sha256-FOC9OzJ5Ckh6VjzGSRh4F3UCUOdM8NrzQT19PQcQJ44=", "owner": "nix-community", "repo": "home-manager", - "rev": "0db5c8bfcce78583ebbde0b2abbc95ad93445f7c", + "rev": "0c0b0ac8af6ca76b1fcb514483a9bd73c18f1e8c", "type": "github" }, "original": { @@ -417,11 +195,11 @@ ] }, "locked": { - "lastModified": 1739364465, - "narHash": "sha256-LhyeVj5plHO3/3QV7SzOSOnvl0sehOjE4h6LHaiiJqU=", + "lastModified": 1739952453, + "narHash": "sha256-+tyFW6nNj1fJ1VTtLeqe1PMp5F7Fb9zIkT6mUvdQHrM=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "3dab95e02b5eeb9aec44a161bbed2b16b3d03aac", + "rev": "b2ed82d3ff837960df4518308dfe409dda3ae406", "type": "github" }, "original": { @@ -477,11 +255,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1739669831, - "narHash": "sha256-3hqUQmzo/RyH51W02RnEBWBdWzma+gUd6MuQ9oAJd/c=", + "lastModified": 1740079325, + "narHash": "sha256-C8QeKgqKm9usc2buuQcGSX0N0AclKGa5zl9llMZc1RA=", "owner": "lilyinstarlight", "repo": "nixos-cosmic", - "rev": "51f16d9cd5ab24afa8b940d0e5c83965c46ef430", + "rev": "5a5ad54c54d44fa507aa8167f32a95b0aee4ca70", "type": "github" }, "original": { @@ -492,11 +270,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1739446958, - "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=", + "lastModified": 1739866667, + "narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2ff53fe64443980e139eaa286017f53f88336dd0", + "rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680", "type": "github" }, "original": { @@ -508,11 +286,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1739484910, - "narHash": "sha256-wjWLzdM7PIq4ZAe7k3vyjtgVJn6b0UeodtRFlM/6W5U=", + "lastModified": 1739624908, + "narHash": "sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0b73e36b1962620a8ac551a37229dd8662dac5c8", + "rev": "a60651b217d2e529729cbc7d989c19f3941b9250", "type": "github" }, "original": { @@ -540,11 +318,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1739446958, - "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=", + "lastModified": 1739580444, + "narHash": "sha256-+/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN+24g4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2ff53fe64443980e139eaa286017f53f88336dd0", + "rev": "8bb37161a0488b89830168b81c48aed11569cb93", "type": "github" }, "original": { @@ -555,22 +333,6 @@ } }, "nixpkgs_4": { - "locked": { - "lastModified": 1736798957, - "narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_5": { "locked": { "lastModified": 1735821806, "narHash": "sha256-cuNapx/uQeCgeuhUhdck3JKbgpsml259sjUQnWM7zW8=", @@ -586,7 +348,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_5": { "locked": { "lastModified": 1735471104, "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", @@ -612,7 +374,6 @@ "nixos-cosmic", "nixpkgs" ], - "stylix": "stylix", "wezterm": "wezterm", "zen-browser": "zen-browser" } @@ -620,11 +381,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1739305728, - "narHash": "sha256-ZYZ6xYhvWcVvbIazMFEUPPkJFkjIa0tmdUFlbuZfcOM=", + "lastModified": 1739913186, + "narHash": "sha256-7MSzs64dLDgq1wFw2eujZ01qdj9K+TwIlQMyWebotE8=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "f63e4761a9f73ddfc04a3e198f77e5e8825d0136", + "rev": "3028f844c5898dcf115f6bc67a5ce793989b04a1", "type": "github" }, "original": { @@ -655,40 +416,6 @@ "type": "github" } }, - "stylix": { - "inputs": { - "base16": "base16", - "base16-fish": "base16-fish", - "base16-helix": "base16-helix", - "base16-vim": "base16-vim", - "firefox-gnome-theme": "firefox-gnome-theme", - "flake-compat": "flake-compat_2", - "flake-utils": "flake-utils", - "git-hooks": "git-hooks", - "gnome-shell": "gnome-shell", - "home-manager": "home-manager_3", - "nixpkgs": "nixpkgs_4", - "systems": "systems", - "tinted-foot": "tinted-foot", - "tinted-kitty": "tinted-kitty", - "tinted-schemes": "tinted-schemes", - "tinted-tmux": "tinted-tmux", - "tinted-zed": "tinted-zed" - }, - "locked": { - "lastModified": 1739375014, - "narHash": "sha256-0fNbvZ1Dod4rDIfwGnC7CzJ3wRFSF1v5AvNCmNkVgXo=", - "owner": "danth", - "repo": "stylix", - "rev": "e86de61bb8f5f2b6459d0be3e3291ad16db4b777", - "type": "github" - }, - "original": { - "owner": "danth", - "repo": "stylix", - "type": "github" - } - }, "systems": { "locked": { "lastModified": 1681028828, @@ -704,110 +431,13 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "tinted-foot": { - "flake": false, - "locked": { - "lastModified": 1726913040, - "narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=", - "owner": "tinted-theming", - "repo": "tinted-foot", - "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "tinted-foot", - "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", - "type": "github" - } - }, - "tinted-kitty": { - "flake": false, - "locked": { - "lastModified": 1716423189, - "narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=", - "owner": "tinted-theming", - "repo": "tinted-kitty", - "rev": "eb39e141db14baef052893285df9f266df041ff8", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "tinted-kitty", - "rev": "eb39e141db14baef052893285df9f266df041ff8", - "type": "github" - } - }, - "tinted-schemes": { - "flake": false, - "locked": { - "lastModified": 1737565458, - "narHash": "sha256-y+9cvOA6BLKT0WfebDsyUpUa/YxKow9hTjBp6HpQv68=", - "owner": "tinted-theming", - "repo": "schemes", - "rev": "ae31625ba47aeaa4bf6a98cf11a8d4886f9463d9", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "schemes", - "type": "github" - } - }, - "tinted-tmux": { - "flake": false, - "locked": { - "lastModified": 1735737224, - "narHash": "sha256-FO2hRBkZsjlIRqzNHCPc/52yxg11kHGA8MEtSun9RwE=", - "owner": "tinted-theming", - "repo": "tinted-tmux", - "rev": "aead506a9930c717ebf81cc83a2126e9ca08fa64", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "tinted-tmux", - "type": "github" - } - }, - "tinted-zed": { - "flake": false, - "locked": { - "lastModified": 1725758778, - "narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=", - "owner": "tinted-theming", - "repo": "base16-zed", - "rev": "122c9e5c0e6f27211361a04fae92df97940eccf9", - "type": "github" - }, - "original": { - "owner": "tinted-theming", - "repo": "base16-zed", - "type": "github" - } - }, "wezterm": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils", "freetype2": "freetype2", "harfbuzz": "harfbuzz", "libpng": "libpng", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_4", "rust-overlay": "rust-overlay", "zlib": "zlib" }, @@ -829,7 +459,7 @@ }, "zen-browser": { "inputs": { - "nixpkgs": "nixpkgs_6" + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1739667343, diff --git a/flake.nix b/flake.nix index d287529..1c9f8ee 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,6 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; zen-browser.url = "github:0xc000022070/zen-browser-flake"; - stylix.url = "github:danth/stylix"; wezterm.url = "github:wez/wezterm?dir=nix"; drawterm.url = "github:KSPAtlas/drawterm-flake"; nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic"; @@ -46,7 +45,7 @@ ./nixos/boot.nix ./nixos/nix.nix ./nixos/gui.nix - ./nixos/stylix.nix + # ./nixos/stylix.nix ./nixos/networking.nix ./nixos/locale.nix ./nixos/users.nix @@ -57,7 +56,6 @@ ./nixos/miscpkgs.nix ./nixos/gpupassthrough.nix inputs.chaotic.nixosModules.default - inputs.stylix.nixosModules.stylix inputs.nixos-cosmic.nixosModules.default home-manager.nixosModules.home-manager { home-manager = { diff --git a/hm/ksp.nix b/hm/ksp.nix index 8515792..0e1bc28 100644 --- a/hm/ksp.nix +++ b/hm/ksp.nix @@ -151,10 +151,10 @@ # }; # }; - gtk.iconTheme = { - name = "kora"; - package = pkgs.kora-icon-theme; - }; + # gtk.iconTheme = { + # name = "kora"; + # package = pkgs.kora-icon-theme; + # }; # qt = { # enable = true; diff --git a/nixos/gui.nix b/nixos/gui.nix index d67d5bc..17d776f 100644 --- a/nixos/gui.nix +++ b/nixos/gui.nix @@ -31,10 +31,19 @@ services.desktopManager.cosmic.enable = true; + # Despite the name, this is wayland stuff + services.xserver = { + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; + }; + environment.systemPackages = with pkgs; [ inputs.zen-browser.packages."${system}".default inputs.wezterm.packages."${pkgs.system}".default inputs.drawterm.packages."${pkgs.system}".default + + gnomeExtensions.blur-my-shell + gnomeExtensions.gsconnect ]; # qt = { @@ -47,27 +56,28 @@ # enable = true; # }; - programs.regreet = { - enable = true; - # cageArgs = [ - # "-s" - # "-m" - # "last" - # ]; - theme = lib.mkForce { - package = pkgs.orchis-theme; - name = "Orchis-Dark"; - }; - iconTheme = { - package = pkgs.kora-icon-theme; - name = "kora"; - }; - font.size = 12; - settings = { - background.fit = lib.mkForce "Fill"; - appearance.greeting_msg = "Nixing my OS"; - }; - }; + # Using GDM right now + # programs.regreet = { + # enable = true; + # # cageArgs = [ + # # "-s" + # # "-m" + # # "last" + # # ]; + # theme = lib.mkForce { + # package = pkgs.orchis-theme; + # name = "Orchis-Dark"; + # }; + # iconTheme = { + # package = pkgs.kora-icon-theme; + # name = "kora"; + # }; + # font.size = 12; + # settings = { + # background.fit = lib.mkForce "Fill"; + # appearance.greeting_msg = "Nixing my OS"; + # }; + # }; # services.greetd.settings.default_session.command = let # runcommand = "${lib.getExe config.programs.regreet.package}"; diff --git a/nixos/locale.nix b/nixos/locale.nix index e38954f..ec87ba4 100644 --- a/nixos/locale.nix +++ b/nixos/locale.nix @@ -3,6 +3,7 @@ { time.timeZone = "GB"; i18n.defaultLocale = "en_US.UTF-8"; + i18n.supportedLocales = [ "all" ]; console = { font = "Lat2-Terminus16"; # keyMap = "pl"; diff --git a/nixos/networking.nix b/nixos/networking.nix index 8914ed9..52ad204 100644 --- a/nixos/networking.nix +++ b/nixos/networking.nix @@ -4,4 +4,14 @@ networking.hostName = "elitism-nix"; networking.networkmanager.enable = true; programs.wireshark.enable = true; + + networking.firewall = { + enable = true; + allowedTCPPortRanges = [ + { from = 1714; to = 1764; } + ]; + allowedUDPPortRanges = [ + { from = 1714; to = 1764; } + ]; + }; } diff --git a/nixos/users.nix b/nixos/users.nix index f089e8a..4f11e32 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -2,6 +2,7 @@ { users.users.ksp = { + name = "KSP Atlas"; isNormalUser = true; extraGroups = [ "wheel" "adbusers" "kvm" "libvirt" ]; # Enable ‘sudo’ for the user. shell = pkgs.nushell;