❄️ My personnal NixOS configuration
nix-flake nixos-configuration linux dotfiles flake nix nix-config nixos nixos-flake linux-desktop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #30 from KeyZox71/update-25.11

「🆙」 update(25.11): full upgrade to last stable

authored by

Adam and committed by
GitHub
530b4b2c dc8a6343

+485 -109
+1 -1
README.md
··· 27 27 }; 28 28 ... 29 29 environment.systemPackages = [ 30 - inputs.keyznixos.packages.${pkgs.system}.<package-name> 30 + inputs.keyznixos.packages.${pkgs.stdenv.hostPlatform.system}.<package-name> 31 31 ]; 32 32 ``` 33 33
+50 -49
flake.lock
··· 7 7 ] 8 8 }, 9 9 "locked": { 10 - "lastModified": 1763111355, 11 - "narHash": "sha256-iUTS8wV7tCo7A456Ro6ZOJ6Bbk0V5Is3zPd+BmJHJ/Q=", 10 + "lastModified": 1764325801, 11 + "narHash": "sha256-LQ7tsrXs1wuB6KBwUctL3JlUsG/FWI2pCI6NkoO52dk=", 12 12 "owner": "catppuccin", 13 13 "repo": "nix", 14 - "rev": "5375a9d80c4b2a835c7203920f997f3ea4224423", 14 + "rev": "a696fed6b9b6aa89ef495842cdca3fc2a7cef0de", 15 15 "type": "github" 16 16 }, 17 17 "original": { 18 18 "owner": "catppuccin", 19 - "ref": "release-25.05", 20 19 "repo": "nix", 21 20 "type": "github" 22 21 } ··· 41 40 "nixpkgs": "nixpkgs" 42 41 }, 43 42 "locked": { 44 - "lastModified": 1764110879, 45 - "narHash": "sha256-xanUzIb0tf3kJ+PoOFmXEXV1jM3PjkDT/TQ5DYeNYRc=", 43 + "lastModified": 1764627417, 44 + "narHash": "sha256-D6xc3Rl8Ab6wucJWdvjNsGYGSxNjQHzRc2EZ6eeQ6l4=", 46 45 "owner": "nix-community", 47 46 "repo": "disko", 48 - "rev": "aecba248f9a7d68c5d1ed15de2d1c8a4c994a3c5", 47 + "rev": "5a88a6eceb8fd732b983e72b732f6f4b8269bef3", 49 48 "type": "github" 50 49 }, 51 50 "original": { ··· 211 210 ] 212 211 }, 213 212 "locked": { 214 - "lastModified": 1763992789, 215 - "narHash": "sha256-WHkdBlw6oyxXIra/vQPYLtqY+3G8dUVZM8bEXk0t8x4=", 213 + "lastModified": 1764613336, 214 + "narHash": "sha256-L979az28t/+SXvYw9qhOno5HLlDwkZOpz6LzCLnjmRM=", 216 215 "owner": "nix-community", 217 216 "repo": "home-manager", 218 - "rev": "44831a7eaba4360fb81f2acc5ea6de5fde90aaa3", 217 + "rev": "f3902b5d8767985680875ad86d028371100faeb3", 219 218 "type": "github" 220 219 }, 221 220 "original": { 222 221 "owner": "nix-community", 223 - "ref": "release-25.05", 222 + "ref": "release-25.11", 224 223 "repo": "home-manager", 225 224 "type": "github" 226 225 } ··· 253 252 ] 254 253 }, 255 254 "locked": { 256 - "lastModified": 1759613406, 257 - "narHash": "sha256-PzgQJydp+RlKvwDi807pXPlURdIAVqLppZDga3DwPqg=", 255 + "lastModified": 1764589287, 256 + "narHash": "sha256-71vBBU9GC+A+tdqAuFDRdx8WEVuj4OaVY5apoaAALkc=", 258 257 "owner": "hyprwm", 259 258 "repo": "contrib", 260 - "rev": "32e1a75b65553daefb419f0906ce19e04815aa3a", 259 + "rev": "e88d93f8aed2b9631b62ca273590fd3528310d7e", 261 260 "type": "github" 262 261 }, 263 262 "original": { ··· 303 302 "nixpkgs" 304 303 ], 305 304 "pre-commit-hooks-nix": "pre-commit-hooks-nix", 306 - "rust-overlay": "rust-overlay" 305 + "rust-overlay": [ 306 + "rust-overlay" 307 + ] 307 308 }, 308 309 "locked": { 309 - "lastModified": 1737639419, 310 - "narHash": "sha256-AEEDktApTEZ5PZXNDkry2YV2k6t0dTgLPEmAZbnigXU=", 310 + "lastModified": 1762205063, 311 + "narHash": "sha256-If6vQ+KvtKs3ARBO9G3l+4wFSCYtRBrwX1z+I+B61wQ=", 311 312 "owner": "nix-community", 312 313 "repo": "lanzaboote", 313 - "rev": "a65905a09e2c43ff63be8c0e86a93712361f871e", 314 + "rev": "88b8a563ff5704f4e8d8e5118fb911fa2110ca05", 314 315 "type": "github" 315 316 }, 316 317 "original": { 317 318 "owner": "nix-community", 318 - "ref": "v0.4.2", 319 + "ref": "v0.4.3", 319 320 "repo": "lanzaboote", 320 321 "type": "github" 321 322 } ··· 358 359 }, 359 360 "nixos-hardware": { 360 361 "locked": { 361 - "lastModified": 1754564048, 362 - "narHash": "sha256-dz303vGuzWjzOPOaYkS9xSW+B93PSAJxvBd6CambXVA=", 362 + "lastModified": 1764853816, 363 + "narHash": "sha256-5VW7Sv/19y4/9fEq5gO25MSp2PeA5mr0KpbElmduYFc=", 363 364 "owner": "keyzox71", 364 365 "repo": "nixos-hardware", 365 - "rev": "26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113", 366 + "rev": "84887255b1e32d0aeb529d51879cd7e84e1ba851", 366 367 "type": "github" 367 368 }, 368 369 "original": { 369 370 "owner": "keyzox71", 370 - "ref": "master", 371 + "ref": "macmini-6", 371 372 "repo": "nixos-hardware", 372 373 "type": "github" 373 374 } ··· 378 379 "nixpkgs": "nixpkgs_2" 379 380 }, 380 381 "locked": { 381 - "lastModified": 1764072830, 382 - "narHash": "sha256-ezkjlUCohD9o9c47Ey0/I4CamSS0QEORTqGvyGqMud0=", 382 + "lastModified": 1764591717, 383 + "narHash": "sha256-T/HMA0Bb/O6UnlGQ0Xt+wGe1j8m7eyyQ5+vVcCJslsM=", 383 384 "owner": "nix-community", 384 385 "repo": "NixOS-WSL", 385 - "rev": "c7832dd786175e20f2697179e0e03efadffe4201", 386 + "rev": "84d1dab290feb4865d0cfcffc7aa0cf9bc65c3b7", 386 387 "type": "github" 387 388 }, 388 389 "original": { ··· 453 454 }, 454 455 "nixpkgs_2": { 455 456 "locked": { 456 - "lastModified": 1763678758, 457 - "narHash": "sha256-+hBiJ+kG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s=", 457 + "lastModified": 1764517877, 458 + "narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=", 458 459 "owner": "NixOS", 459 460 "repo": "nixpkgs", 460 - "rev": "117cc7f94e8072499b0a7aa4c52084fa4e11cc9b", 461 + "rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c", 461 462 "type": "github" 462 463 }, 463 464 "original": { ··· 469 470 }, 470 471 "nixpkgs_3": { 471 472 "locked": { 472 - "lastModified": 1763948260, 473 - "narHash": "sha256-dY9qLD0H0zOUgU3vWacPY6Qc421BeQAfm8kBuBtPVE0=", 473 + "lastModified": 1764522689, 474 + "narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=", 474 475 "owner": "nixos", 475 476 "repo": "nixpkgs", 476 - "rev": "1c8ba8d3f7634acac4a2094eef7c32ad9106532c", 477 + "rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f", 477 478 "type": "github" 478 479 }, 479 480 "original": { 480 481 "owner": "nixos", 481 - "ref": "nixos-25.05", 482 + "ref": "nixos-25.11", 482 483 "repo": "nixpkgs", 483 484 "type": "github" 484 485 } 485 486 }, 486 487 "nixpkgs_4": { 487 488 "locked": { 488 - "lastModified": 1763618868, 489 - "narHash": "sha256-v5afmLjn/uyD9EQuPBn7nZuaZVV9r+JerayK/4wvdWA=", 489 + "lastModified": 1764230294, 490 + "narHash": "sha256-Z63xl5Scj3Y/zRBPAWq1eT68n2wBWGCIEF4waZ0bQBE=", 490 491 "owner": "NixOS", 491 492 "repo": "nixpkgs", 492 - "rev": "a8d610af3f1a5fb71e23e08434d8d61a466fc942", 493 + "rev": "0d59e0290eefe0f12512043842d7096c4070f30e", 493 494 "type": "github" 494 495 }, 495 496 "original": { ··· 523 524 "systems": "systems_2" 524 525 }, 525 526 "locked": { 526 - "lastModified": 1764238240, 527 - "narHash": "sha256-7Znm3koZ4sF+O41Y7rJqf651BPEbjIUYF3r9H23GRGw=", 527 + "lastModified": 1764663787, 528 + "narHash": "sha256-nlW6BI2CiP6wlhjwpxOc8W6lMU9eaojAyVZFWlbQ/fg=", 528 529 "owner": "nix-community", 529 530 "repo": "nixvim", 530 - "rev": "f1e07ba53abd0fb4872a365cba45562144ad6130", 531 + "rev": "2d8db68a8fd4a21e2017df167c6535499adc02d1", 531 532 "type": "github" 532 533 }, 533 534 "original": { ··· 642 643 "nixpkgs": "nixpkgs_3", 643 644 "nixvim": "nixvim", 644 645 "pogit": "pogit", 646 + "rust-overlay": "rust-overlay", 645 647 "timmy": "timmy", 646 648 "treefmt-nix": "treefmt-nix", 647 649 "unstablepkgs": "unstablepkgs", ··· 651 653 "rust-overlay": { 652 654 "inputs": { 653 655 "nixpkgs": [ 654 - "lanzaboote", 655 656 "nixpkgs" 656 657 ] 657 658 }, 658 659 "locked": { 659 - "lastModified": 1731897198, 660 - "narHash": "sha256-Ou7vLETSKwmE/HRQz4cImXXJBr/k9gp4J4z/PF8LzTE=", 660 + "lastModified": 1764643237, 661 + "narHash": "sha256-6Ezx9DqVv5UZ7DBK9rcNwBuQUENFyWPS7M09I+FvNao=", 661 662 "owner": "oxalica", 662 663 "repo": "rust-overlay", 663 - "rev": "0be641045af6d8666c11c2c40e45ffc9667839b5", 664 + "rev": "e66d6b924ac59e6c722f69332f6540ea57c69233", 664 665 "type": "github" 665 666 }, 666 667 "original": { ··· 740 741 }, 741 742 "unstablepkgs": { 742 743 "locked": { 743 - "lastModified": 1763966396, 744 - "narHash": "sha256-6eeL1YPcY1MV3DDStIDIdy/zZCDKgHdkCmsrLJFiZf0=", 744 + "lastModified": 1764517877, 745 + "narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=", 745 746 "owner": "nixos", 746 747 "repo": "nixpkgs", 747 - "rev": "5ae3b07d8d6527c42f17c876e404993199144b6a", 748 + "rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c", 748 749 "type": "github" 749 750 }, 750 751 "original": { ··· 762 763 ] 763 764 }, 764 765 "locked": { 765 - "lastModified": 1764217570, 766 - "narHash": "sha256-vgqUC6lI/gW70uekA0bpNFU6yR0tcZRfLIZcxGfN76g=", 766 + "lastModified": 1764598958, 767 + "narHash": "sha256-sJQHRL8trBoG/ArR+mUlyp5cyKU0pgQY+qDQzZGnVgM=", 767 768 "owner": "0xc000022070", 768 769 "repo": "zen-browser-flake", 769 - "rev": "3dc281d86044322f9182b20abbc21db8824c130a", 770 + "rev": "8cded25e10b13e2999241f1c73a7d4e5e5d6f69e", 770 771 "type": "github" 771 772 }, 772 773 "original": {
+29 -7
flake.nix
··· 44 44 self.nixosModules.default 45 45 ]; 46 46 }; 47 + MINI-BOYY = nixpkgs.lib.nixosSystem { 48 + system = "x86_64-linux"; 49 + specialArgs = { inherit inputs outputs self; }; 50 + modules = [ 51 + ./hosts/MINI-BOYY/default.nix 52 + 53 + disko.nixosModules.disko 54 + catppuccin.nixosModules.catppuccin 55 + nixos-hardware.nixosModules.apple-macmini-6 56 + self.nixosModules.default 57 + ]; 58 + }; 47 59 LAPTOP-5530 = nixpkgs.lib.nixosSystem { 48 60 system = "x86_64-linux"; 49 61 specialArgs = { inherit inputs outputs self; }; ··· 216 228 }; 217 229 } 218 230 ); 219 - formatter = forEachSupportedSystem ({ pkgs, ... }: treefmtEval.${pkgs.system}.config.build.wrapper); 231 + formatter = forEachSupportedSystem ( 232 + { pkgs, ... }: treefmtEval.${pkgs.stdenv.hostPlatform.system}.config.build.wrapper 233 + ); 220 234 checks = forEachSupportedSystem ( 221 235 { pkgs, ... }: 222 236 { 223 - formatting = treefmtEval.${pkgs.system}.config.build.check self; 237 + formatting = treefmtEval.${pkgs.stdenv.hostPlatform.system}.config.build.check self; 224 238 } 225 239 ); 226 240 }; 227 241 228 242 inputs = { 229 - nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; 243 + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; 230 244 231 245 nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; 232 246 233 247 unstablepkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 234 248 235 - nixos-hardware.url = "github:keyzox71/nixos-hardware/master"; 249 + nixos-hardware.url = "github:keyzox71/nixos-hardware/macmini-6"; 250 + # nixos-hardware.url = "git+file:///home/adjoly/workspace/nixos-hardware"; 236 251 237 252 catppuccin = { 238 - url = "github:catppuccin/nix/release-25.05"; 253 + url = "github:catppuccin/nix"; 239 254 inputs.nixpkgs.follows = "nixpkgs"; 240 255 }; 241 256 242 257 home-manager = { 243 - url = "github:nix-community/home-manager/release-25.05"; 258 + url = "github:nix-community/home-manager/release-25.11"; 244 259 inputs.nixpkgs.follows = "nixpkgs"; 245 260 }; 246 261 ··· 269 284 }; 270 285 271 286 lanzaboote = { 272 - url = "github:nix-community/lanzaboote/v0.4.2"; 287 + url = "github:nix-community/lanzaboote/v0.4.3"; 288 + inputs = { 289 + nixpkgs.follows = "nixpkgs"; 290 + rust-overlay.follows = "rust-overlay"; 291 + }; 292 + }; 293 + rust-overlay = { 294 + url = "github:oxalica/rust-overlay"; 273 295 inputs.nixpkgs.follows = "nixpkgs"; 274 296 }; 275 297
+1 -1
home/42/default.nix
··· 23 23 catppuccin.cursors.enable = lib.mkForce false; 24 24 programs.zsh = { 25 25 shellAliases = { 26 - re = "nix run nixpkgs#home-manager -- switch --flake /home/adjoly/nixos-config#42adjoly"; 26 + re = "nix shell nixpkgs#nix nixpkgs#nh --command nh home switch \"$$HOME\"/nixos-config -c 42adjoly"; 27 27 bgs = "brightnessctl set"; 28 28 wl-copy = "xclip -i -selection clipboard"; 29 29 };
+2 -1
home/42/packages.nix
··· 6 6 7 7 { 8 8 home.packages = with pkgs; [ 9 + nix 9 10 mockoon 10 11 brightnessctl 11 - (self.packages.${pkgs.system}.keyznvim.override { 12 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 12 13 home = "/home/adjoly/"; 13 14 }) 14 15 ];
+6 -5
home/DEV-BOYY/packages.nix
··· 8 8 home.packages = with pkgs; [ 9 9 prismlauncher 10 10 11 - makemkv 12 - mkvtoolnix 13 - 11 + slack 12 + firefox 14 13 postman 15 14 gearlever # for beeper cause the one from the nixpkgs seems bugged 16 15 strawberry # for itunes lib and need to test if upload to ipod works 17 - self.packages.${pkgs.system}.adjust-brightness # for adjusting brightness on ddc/ci screen 18 - (self.packages.${pkgs.system}.keyznvim.override { 16 + parsec-bin 17 + libreoffice 18 + self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness # for adjusting brightness on ddc/ci screen 19 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 19 20 quickMode = false; 20 21 home = "/home/adjoly/"; 21 22 })
+11 -5
home/LAPTOP-5530/packages.nix
··· 6 6 7 7 { 8 8 home.packages = with pkgs; [ 9 + feishin 10 + mpv 11 + 12 + slack 9 13 postman 10 14 mockoon 11 - gearlever # for beeper cause the one from the nixpkgs seems bugged 12 - strawberry # for itunes lib and need to test if upload to ipod works 15 + firefox 16 + gearlever 17 + parsec-bin 18 + libreoffice 13 19 brightnessctl 14 20 prismlauncher 15 - jellyfin-media-player 16 - self.packages.${pkgs.system}.adjust-brightness 17 - (self.packages.${pkgs.system}.keyznvim.override { 21 + # jellyfin-media-player 22 + self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness 23 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 18 24 quickMode = false; 19 25 home = "/home/adjoly/"; 20 26 })
+2 -3
home/LAPTOP-5530/wm.nix
··· 14 14 15 15 wayland.windowManager.hyprland = { 16 16 settings = { 17 - bind = [ 18 - ]; 19 - env = [ 17 + gesture = [ 18 + "3, horizontal, workspace" 20 19 ]; 21 20 monitor = [ 22 21 "eDP-1, 1920x1080@60, 0x0, 1.25"
+27
home/MINI-BOYY/default.nix
··· 1 + { 2 + self, 3 + ... 4 + }: 5 + { 6 + imports = [ 7 + self.homeModules.default 8 + ../nixpkgs-conf.nix 9 + 10 + ./packages.nix 11 + ./wm.nix 12 + ]; 13 + 14 + keyzox = { 15 + gui.enable = true; 16 + shell.nixos.enable = true; 17 + hyprland.autostart.enable = true; 18 + bitwarden-ssh-agent.enable = true; 19 + theme.enable = true; 20 + hypridle.sleep_timeout = -1; 21 + hyprlock.monitor = "HDMI-A-3"; 22 + }; 23 + 24 + programs.kitty.font.size = 13.5; # for kitty 25 + 26 + home.stateVersion = "25.11"; 27 + }
+20
home/MINI-BOYY/packages.nix
··· 1 + { 2 + pkgs, 3 + self, 4 + ... 5 + }: 6 + 7 + { 8 + home.packages = with pkgs; [ 9 + k3d 10 + kubectl 11 + 12 + parsec-bin 13 + brightnessctl 14 + self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness 15 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 16 + quickMode = false; 17 + home = "/home/adjoly/"; 18 + }) 19 + ]; 20 + }
+38
home/MINI-BOYY/wm.nix
··· 1 + { 2 + ... 3 + }: 4 + 5 + { 6 + programs.waybar.settings.bar = { 7 + "hyprland/workspaces" = { 8 + }; 9 + output = [ 10 + "HDMI-A-3" 11 + ]; 12 + }; 13 + 14 + wayland.windowManager.hyprland = { 15 + settings = { 16 + bind = [ 17 + ]; 18 + env = [ 19 + ]; 20 + monitor = [ 21 + "HDMI-A-3, 1920x1080@60, 0x0, 1" 22 + ]; 23 + workspace = [ 24 + "1, monitor:HDMI-A-3" 25 + "2, monitor:HDMI-A-3" 26 + "3, monitor:HDMI-A-3" 27 + "4, monitor:HDMI-A-3" 28 + "5, monitor:HDMI-A-3" 29 + "6, monitor:HDMI-A-3" 30 + "7, monitor:HDMI-A-3" 31 + "8, monitor:HDMI-A-3" 32 + "9, monitor:HDMI-A-3" 33 + "10, monitor:HDMI-A-3" 34 + ]; 35 + 36 + }; 37 + }; 38 + }
+1 -1
home/nixos-server/default.nix
··· 18 18 services.ssh-agent.enable = false; 19 19 20 20 home.packages = [ 21 - (self.packages.${pkgs.system}.keyznvim.override { 21 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 22 22 quickMode = false; 23 23 home = "/home/adjoly/"; 24 24 })
+1 -1
home/nixpkgs-conf.nix
··· 13 13 overlays = [ 14 14 (_: _: { 15 15 unstable = import inputs.unstablepkgs { 16 - system = pkgs.system; 16 + system = pkgs.stdenv.hostPlatform.system; 17 17 config.allowUnfree = true; 18 18 }; 19 19 })
+2 -2
home/virtualBoyy/default.nix
··· 30 30 firefox 31 31 discord 32 32 gearlever 33 - inputs.hyprland-contrib.packages.${pkgs.system}.grimblast 33 + inputs.hyprland-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast 34 34 xfce.thunar 35 - (self.packages.${pkgs.system}.keyznvim.override { 35 + (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 36 36 home = "/home/adjoly/"; 37 37 }) 38 38 ];
+1 -1
hosts/DEV-BOYY/default.nix
··· 38 38 39 39 environment.systemPackages = with pkgs; [ 40 40 wlr-randr 41 - cifs-utils 41 + cifs-utils 42 42 ]; 43 43 44 44 # This value determines the NixOS release from which the default
+53
hosts/MINI-BOYY/default.nix
··· 1 + { 2 + ... 3 + }: 4 + 5 + { 6 + imports = [ 7 + ../home.nix 8 + 9 + ./hardware.nix 10 + 11 + ./disko.nix 12 + ./hardware-configuration.nix 13 + ]; 14 + 15 + networking.hostName = "MINI-BOYY"; 16 + 17 + # For ddcutils compatibility 18 + users.users.adjoly.extraGroups = [ 19 + "i2c" 20 + "vboxusers" 21 + ]; 22 + 23 + keyzox = { 24 + defaults = true; 25 + wm = true; 26 + 27 + grub-boot.enable = true; 28 + theme.enable = true; 29 + 30 + hardware = { 31 + bluetooth.enable = true; 32 + logitech.enable = true; 33 + }; 34 + programs = { 35 + docker.enable = true; 36 + }; 37 + services = { 38 + }; 39 + }; 40 + powerManagement.enable = true; 41 + # environment.systemPackages = with pkgs; [ 42 + # ]; 43 + 44 + programs.wireshark.enable = true; 45 + 46 + # This value determines the NixOS release from which the default 47 + # settings for stateful data, like file locations and database versions 48 + # on your system were taken. It‘s perfectly fine and recommended to leave 49 + # this value at the release version of the first install of this system. 50 + # Before changing this value read the documentation for this option 51 + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 52 + system.stateVersion = "24.11"; # Did you read the comment? 53 + }
+46
hosts/MINI-BOYY/disko.nix
··· 1 + { ... }: 2 + 3 + { 4 + disko.devices = { 5 + disk = { 6 + boot-disk = { 7 + device = "/dev/sda"; 8 + type = "disk"; 9 + content = { 10 + type = "gpt"; 11 + partitions = { 12 + ESP = { 13 + size = "500M"; 14 + type = "EF00"; 15 + content = { 16 + type = "filesystem"; 17 + format = "vfat"; 18 + mountpoint = "/boot"; 19 + mountOptions = [ "umask=0077" ]; 20 + }; 21 + }; 22 + root = { 23 + end = "-4G"; 24 + content = { 25 + type = "filesystem"; 26 + format = "xfs"; 27 + mountpoint = "/"; 28 + mountOptions = [ 29 + "defaults" 30 + "pquota" 31 + ]; 32 + }; 33 + }; 34 + SWAP = { 35 + size = "100%"; 36 + content = { 37 + type = "swap"; 38 + resumeDevice = true; 39 + }; 40 + }; 41 + }; 42 + }; 43 + }; 44 + }; 45 + }; 46 + }
+32
hosts/MINI-BOYY/hardware-configuration.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { 5 + config, 6 + lib, 7 + modulesPath, 8 + ... 9 + }: 10 + 11 + { 12 + imports = [ 13 + (modulesPath + "/installer/scan/not-detected.nix") 14 + ]; 15 + 16 + boot.initrd.availableKernelModules = [ 17 + "xhci_pci" 18 + "ehci_pci" 19 + "ahci" 20 + "firewire_ohci" 21 + "usbhid" 22 + "usb_storage" 23 + "sd_mod" 24 + "sdhci_pci" 25 + ]; 26 + boot.initrd.kernelModules = [ ]; 27 + boot.kernelModules = [ "kvm-intel" ]; 28 + boot.extraModulePackages = [ ]; 29 + 30 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 31 + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 32 + }
+43
hosts/MINI-BOYY/hardware.nix
··· 1 + { 2 + config, 3 + # pkgs, 4 + lib, 5 + ... 6 + }: 7 + { 8 + # hardware.graphics = { 9 + # extraPackages = [ 10 + # pkgs.intel-vaapi-driver 11 + # ]; 12 + # extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ]; 13 + # enable = true; 14 + # enable32Bit = true; 15 + # }; 16 + nixpkgs.config.allowInsecurePredicate = 17 + pkg: 18 + builtins.elem (lib.getName pkg) [ 19 + "broadcom-sta" # aka “wl” 20 + ]; 21 + # services.thermald.enable = true; 22 + # hardware.facetimehd.enable = false; 23 + # services.mbpfan.enable = true; 24 + boot = { 25 + # initrd.kernelModules = [ 26 + # "i915" 27 + # ]; 28 + kernelModules = [ 29 + # "coretemp" 30 + # "applesmc" 31 + "wl" 32 + ]; 33 + blacklistedKernelModules = [ 34 + "b43" 35 + "bcma" 36 + ]; 37 + extraModulePackages = [ 38 + # install broadcom driver for macos wifi 39 + # note : the user will need to add it to `permittedInsecurePackages` 40 + config.boot.kernelPackages.broadcom_sta 41 + ]; 42 + }; 43 + }
+1 -1
hosts/NIXOS-SERVER/default.nix
··· 22 22 overlays = [ 23 23 (_: _: { 24 24 unstable = import inputs.unstablepkgs { 25 - system = pkgs.system; 25 + system = pkgs.stdenv.hostPlatform.system; 26 26 config.allowUnfree = true; 27 27 }; 28 28 })
+1 -6
modules/home-manager/cli/cli-app.nix
··· 13 13 14 14 config = lib.mkIf config.keyzox.cli-app.enable { 15 15 home.packages = with pkgs; [ 16 - inputs.timmy.packages.${pkgs.system}.timmy 16 + inputs.timmy.packages.${pkgs.stdenv.hostPlatform.system}.timmy 17 17 tea 18 18 ]; 19 19 20 20 programs.yazi = { 21 - enable = lib.mkDefault true; 22 - enableZshIntegration = true; 23 - }; 24 - 25 - programs.thefuck = { 26 21 enable = lib.mkDefault true; 27 22 enableZshIntegration = true; 28 23 };
+4 -2
modules/home-manager/cli/git.nix
··· 13 13 programs = { 14 14 git = { 15 15 enable = true; 16 - userName = lib.mkDefault "adjoly"; 17 - userEmail = lib.mkDefault "contact@adjoly.fr"; 16 + settings = { 17 + user.name = lib.mkDefault "adjoly"; 18 + user.email = lib.mkDefault "contact@adjoly.fr"; 19 + }; 18 20 signing = { 19 21 format = "ssh"; 20 22 signByDefault = lib.mkDefault true;
+4
modules/home-manager/cli/pogit.nix
··· 33 33 icon = "🆙"; 34 34 msg = "just made a quick update !"; 35 35 }; 36 + format = { 37 + icon = "🧼"; 38 + msg = "formatted code"; 39 + }; 36 40 }; 37 41 }; 38 42 };
-5
modules/home-manager/cli/shell.nix
··· 50 50 home.packages = [ 51 51 pkgs.unstable.bitwarden-desktop 52 52 ]; 53 - programs.zsh = { 54 - envExtra = lib.mkBefore '' 55 - export SSH_AUTH_SOCK=$HOME/.bitwarden-ssh-agent.sock 56 - ''; 57 - }; 58 53 }) 59 54 ]; 60 55 }
+2 -2
modules/home-manager/cli/shell/direnv.nix
··· 12 12 enableZshIntegration = true; 13 13 nix-direnv = { 14 14 enable = true; 15 - package = inputs.unstablepkgs.legacyPackages.${pkgs.system}.nix-direnv; 15 + package = inputs.unstablepkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.nix-direnv; 16 16 }; 17 17 silent = true; 18 - package = inputs.unstablepkgs.legacyPackages.${pkgs.system}.direnv; 18 + package = inputs.unstablepkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.direnv; 19 19 }; 20 20 }
+2
modules/home-manager/default.nix
··· 12 12 keyzox.shell.enable = lib.mkDefault true; 13 13 keyzox.cli-app.enable = lib.mkDefault true; 14 14 keyzox.gh.enable = lib.mkDefault true; 15 + keyzox.ssh-config.enable = lib.mkDefault true; 15 16 }; 16 17 gui-conf = lib.mkIf config.keyzox.gui.enable { 17 18 keyzox.cli.enable = lib.mkDefault true; ··· 31 32 ./gui 32 33 33 34 ./catppuccin.nix 35 + ./ssh.nix 34 36 35 37 inputs.catppuccin.homeModules.catppuccin 36 38 inputs.pogit.homeManagerModules.default
+3 -11
modules/home-manager/gui/gui-app.nix
··· 14 14 config = lib.mkIf config.keyzox.gui-app.enable { 15 15 home.packages = with pkgs; [ 16 16 vlc 17 - slack 17 + beeper 18 18 discord 19 - firefox 20 - obsidian 21 19 localsend 22 - gearlever 23 - libreoffice 24 - parsec-bin 25 - inputs.zen-browser.packages.${pkgs.system}.default 26 - inputs.hyprland-contrib.packages.${pkgs.system}.grimblast 20 + inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default 21 + inputs.hyprland-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast 27 22 28 23 xfce.thunar 29 - xfce.thunar-volman 30 - xfce.thunar-archive-plugin 31 - xfce.thunar-media-tags-plugin 32 24 ]; 33 25 }; 34 26 }
+2 -2
modules/home-manager/gui/wm/hyprland.nix
··· 39 39 windowrulev2 = [ 40 40 "fullscreen, class:zen-beta" 41 41 ]; 42 - gestures.workspace_swipe = "on"; 42 + # gestures.workspace_swipe = "on"; 43 43 exec-once = lib.mkBefore [ 44 44 "hyprpaper" 45 45 "waybar" ··· 136 136 "workspace 10, class:BeeperTexts" 137 137 ]; 138 138 exec-once = [ 139 - "/home/adjoly/AppImages/beeper.appimage -enable-features=UseOzonePlatform -ozone-platform=wayland" 139 + "beeper -enable-features=UseOzonePlatform -ozone-platform=wayland" 140 140 "discord" 141 141 "bitwarden" 142 142 "localsend_app --hidden"
+3
modules/home-manager/gui/wm/tofi.nix
··· 10 10 }; 11 11 12 12 config = lib.mkIf config.keyzox.tofi.enable { 13 + programs.zsh.shellAliases = { 14 + tofi-clean-cache = "rm ~/.cache/tofi-drun"; 15 + }; 13 16 programs.tofi = { 14 17 enable = true; 15 18 settings = {
+74
modules/home-manager/ssh.nix
··· 1 + { 2 + lib, 3 + config, 4 + ... 5 + }: 6 + 7 + let 8 + sshAgentLocation = "/home/adjoly/.bitwarden-ssh-agent.sock"; 9 + ft_pubKeyLocation = "/home/adjoly/.ssh/id_42.pub"; 10 + git_pubKeyLocation = "/home/adjoly/.ssh/id_git.pub"; 11 + in 12 + { 13 + options = { 14 + keyzox.ssh-config.enable = lib.mkEnableOption "Can be used the set the default configs for ssh"; 15 + }; 16 + 17 + config = lib.mkIf config.keyzox.ssh-config.enable { 18 + home.file = { 19 + "id_42.pub" = { 20 + target = ".ssh/id_42.pub"; 21 + text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEkLpl9HygemfyK7obLW7HCuFf4X5UFZCuXE28oe6xDN adjoly@student.42angouleme.fr"; 22 + }; 23 + "id_git.pub" = { 24 + target = ".ssh/id_git.pub"; 25 + text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOCi8T2p48jD7EbneWqTLoyvs1SGfZBzfUb85k2oALTe"; 26 + }; 27 + }; 28 + programs.ssh = { 29 + enable = true; 30 + enableDefaultConfig = false; 31 + matchBlocks = { 32 + "ovh-vps" = { 33 + hostname = "ovh-vps.neko-diminished.ts.net"; 34 + user = "rocky"; 35 + forwardAgent = true; 36 + }; 37 + "nixos-server" = { 38 + hostname = "nixos-server.neko-diminished.ts.net"; 39 + user = "adjoly"; 40 + forwardAgent = true; 41 + }; 42 + "mini-boyy" = { 43 + hostname = "mini-boyy.neko-diminished.ts.net"; 44 + user = "adjoly"; 45 + forwardAgent = true; 46 + }; 47 + "github.com" = { 48 + hostname = "github.com"; 49 + user = "git"; 50 + identityAgent = [ 51 + sshAgentLocation 52 + ]; 53 + identityFile = git_pubKeyLocation; 54 + }; 55 + "codeberg.org" = { 56 + hostname = "codeberg.org"; 57 + user = "git"; 58 + identityAgent = [ 59 + sshAgentLocation 60 + ]; 61 + identityFile = git_pubKeyLocation; 62 + }; 63 + "vogsphere.42angouleme.fr" = { 64 + hostname = "vogsphere.42angouleme.fr"; 65 + user = "git"; 66 + identityAgent = [ 67 + sshAgentLocation 68 + ]; 69 + identityFile = ft_pubKeyLocation; 70 + }; 71 + }; 72 + }; 73 + }; 74 + }
+1
modules/nixos/catppuccin.nix
··· 12 12 config = lib.mkIf config.keyzox.theme.enable { 13 13 catppuccin = { 14 14 enable = true; 15 + cache.enable = true; 15 16 flavor = "macchiato"; 16 17 accent = "lavender"; 17 18 };
+3 -1
modules/nixos/default.nix
··· 67 67 }; 68 68 services = { 69 69 tailscale.enable = lib.mkDefault true; 70 + plymouth.enable = lib.mkDefault true; 70 71 }; 71 72 }; 72 73 ··· 84 85 "nix-command" 85 86 "flakes" 86 87 ]; 87 - # auto-optimise-store = true; 88 88 }; 89 89 }; 90 90 ··· 95 95 curl 96 96 btop 97 97 unzip 98 + wireguard-tools 98 99 ]; 99 100 100 101 networking = { 102 + wireguard.enable = true; 101 103 networkmanager.enable = lib.mkDefault true; 102 104 firewall = { 103 105 enable = lib.mkDefault false;
+1
modules/nixos/services/default.nix
··· 5 5 ./ddcutils.nix 6 6 ./gdm.nix 7 7 ./ly.nix 8 + ./plymouth.nix 8 9 ./tailscale.nix 9 10 ./sound.nix 10 11 ./xserver.nix
+1 -1
modules/nixos/services/gdm.nix
··· 10 10 }; 11 11 12 12 config = lib.mkIf config.keyzox.services.gdm.enable { 13 - services.xserver.displayManager.gdm = { 13 + services.displayManager.gdm = { 14 14 enable = true; 15 15 wayland = true; 16 16 };
+16
modules/nixos/services/plymouth.nix
··· 1 + { 2 + lib, 3 + config, 4 + ... 5 + }: 6 + { 7 + options = { 8 + keyzox.services.plymouth.enable = lib.mkEnableOption "Can be used to enable plymouth"; 9 + }; 10 + 11 + config = lib.mkIf config.keyzox.services.plymouth.enable { 12 + boot.plymouth = { 13 + enable = true; 14 + }; 15 + }; 16 + }
+1 -1
modules/nixos/services/tailscale.nix
··· 15 15 services.tailscale = { 16 16 enable = true; 17 17 extraUpFlags = lib.mkBefore [ "--accept-routes" ]; 18 - package = inputs.unstablepkgs.legacyPackages.${pkgs.system}.tailscale; 18 + package = inputs.unstablepkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.tailscale; 19 19 }; 20 20 }; 21 21 }