โ„๏ธ 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.

ใ€Œ๐Ÿ—๏ธใ€ wip: seamingly working config

adjoly 12756d6c 548215a6

+560 -6
+488
flake.lock
··· 1 + { 2 + "nodes": { 3 + "catppuccin": { 4 + "inputs": { 5 + "nixpkgs": "nixpkgs" 6 + }, 7 + "locked": { 8 + "lastModified": 1747207567, 9 + "narHash": "sha256-8n8AmJpKi7kLMa8clUWYuu8w0PqD4n6kvB1PhbdvWEI=", 10 + "owner": "catppuccin", 11 + "repo": "nix", 12 + "rev": "2e75b520f0b64aa5acd61e15a7081c0ba3f7dd87", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "catppuccin", 17 + "repo": "nix", 18 + "type": "github" 19 + } 20 + }, 21 + "disko": { 22 + "inputs": { 23 + "nixpkgs": "nixpkgs_2" 24 + }, 25 + "locked": { 26 + "lastModified": 1747226316, 27 + "narHash": "sha256-INBPqK9ogSvw5Q9HJ5H7KI83v6Jc3goAnXN3b2F+eMU=", 28 + "owner": "nix-community", 29 + "repo": "disko", 30 + "rev": "490c0d6bd151e33caa5b2cf0ae37758234e947f6", 31 + "type": "github" 32 + }, 33 + "original": { 34 + "owner": "nix-community", 35 + "repo": "disko", 36 + "type": "github" 37 + } 38 + }, 39 + "fastclass": { 40 + "inputs": { 41 + "nixpkgs": "nixpkgs_3" 42 + }, 43 + "locked": { 44 + "lastModified": 1732135845, 45 + "narHash": "sha256-Vh3+/J2rxGPiVM0gYsg1O50z+XEX0T1rpDwBnupgnak=", 46 + "owner": "seekrs", 47 + "repo": "fastclass", 48 + "rev": "752185bda66956b827cc0bea9c01e7b6160d1344", 49 + "type": "github" 50 + }, 51 + "original": { 52 + "owner": "seekrs", 53 + "ref": "nixxing", 54 + "repo": "fastclass", 55 + "type": "github" 56 + } 57 + }, 58 + "flake-compat": { 59 + "flake": false, 60 + "locked": { 61 + "lastModified": 1733328505, 62 + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", 63 + "owner": "edolstra", 64 + "repo": "flake-compat", 65 + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", 66 + "type": "github" 67 + }, 68 + "original": { 69 + "owner": "edolstra", 70 + "repo": "flake-compat", 71 + "type": "github" 72 + } 73 + }, 74 + "flake-parts": { 75 + "inputs": { 76 + "nixpkgs-lib": "nixpkgs-lib" 77 + }, 78 + "locked": { 79 + "lastModified": 1733312601, 80 + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", 81 + "owner": "hercules-ci", 82 + "repo": "flake-parts", 83 + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", 84 + "type": "github" 85 + }, 86 + "original": { 87 + "owner": "hercules-ci", 88 + "repo": "flake-parts", 89 + "type": "github" 90 + } 91 + }, 92 + "flake-parts_2": { 93 + "inputs": { 94 + "nixpkgs-lib": "nixpkgs-lib_2" 95 + }, 96 + "locked": { 97 + "lastModified": 1722555600, 98 + "narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=", 99 + "owner": "hercules-ci", 100 + "repo": "flake-parts", 101 + "rev": "8471fe90ad337a8074e957b69ca4d0089218391d", 102 + "type": "github" 103 + }, 104 + "original": { 105 + "owner": "hercules-ci", 106 + "repo": "flake-parts", 107 + "type": "github" 108 + } 109 + }, 110 + "flake-utils": { 111 + "inputs": { 112 + "systems": "systems" 113 + }, 114 + "locked": { 115 + "lastModified": 1731533236, 116 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 117 + "owner": "numtide", 118 + "repo": "flake-utils", 119 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 120 + "type": "github" 121 + }, 122 + "original": { 123 + "owner": "numtide", 124 + "repo": "flake-utils", 125 + "type": "github" 126 + } 127 + }, 128 + "home-manager": { 129 + "inputs": { 130 + "nixpkgs": [ 131 + "nixpkgs" 132 + ] 133 + }, 134 + "locked": { 135 + "lastModified": 1747020534, 136 + "narHash": "sha256-D/6rkiC6w2p+4SwRiVKrWIeYzun8FBg7NlMKMwQMxO0=", 137 + "owner": "nix-community", 138 + "repo": "home-manager", 139 + "rev": "b4bbdc6fde16fc2051fcde232f6e288cd22007ca", 140 + "type": "github" 141 + }, 142 + "original": { 143 + "owner": "nix-community", 144 + "ref": "release-24.11", 145 + "repo": "home-manager", 146 + "type": "github" 147 + } 148 + }, 149 + "home-unstable": { 150 + "inputs": { 151 + "nixpkgs": [ 152 + "unstablepkgs" 153 + ] 154 + }, 155 + "locked": { 156 + "lastModified": 1747225851, 157 + "narHash": "sha256-4IbmZrNOdXP143kZEUzxBS5SqyxUlaSHLgdpeJfP2ZU=", 158 + "owner": "nix-community", 159 + "repo": "home-manager", 160 + "rev": "6bf057fc8326e83bda05a669fc08d106547679fb", 161 + "type": "github" 162 + }, 163 + "original": { 164 + "owner": "nix-community", 165 + "ref": "master", 166 + "repo": "home-manager", 167 + "type": "github" 168 + } 169 + }, 170 + "hyprland-contrib": { 171 + "inputs": { 172 + "nixpkgs": [ 173 + "nixpkgs" 174 + ] 175 + }, 176 + "locked": { 177 + "lastModified": 1747045452, 178 + "narHash": "sha256-VKs/GtedyOrcWiEOf9JPPX6ZgKzngXTVMUlqsL60G/c=", 179 + "owner": "hyprwm", 180 + "repo": "contrib", 181 + "rev": "8e6c02ac3dfbff878ef300266598737ee9cedf94", 182 + "type": "github" 183 + }, 184 + "original": { 185 + "owner": "hyprwm", 186 + "repo": "contrib", 187 + "type": "github" 188 + } 189 + }, 190 + "keyznvim": { 191 + "inputs": { 192 + "flake-utils": "flake-utils", 193 + "nixpkgs": [ 194 + "nixpkgs" 195 + ] 196 + }, 197 + "locked": { 198 + "lastModified": 1745766340, 199 + "narHash": "sha256-Ii7bMsqegw1PINMBNhmIzS/PZKTRXkc4J1lOPqdTQiM=", 200 + "owner": "keyzox71", 201 + "repo": "nvim", 202 + "rev": "3a83589160c707409b85c428fe40156b557434b5", 203 + "type": "github" 204 + }, 205 + "original": { 206 + "owner": "keyzox71", 207 + "ref": "indev", 208 + "repo": "nvim", 209 + "type": "github" 210 + } 211 + }, 212 + "nixos-hardware": { 213 + "locked": { 214 + "lastModified": 1736609484, 215 + "narHash": "sha256-OL7leZ6KBhcDF3nEKe4aZVfIm6xQpb1Kb+mxySIP93o=", 216 + "owner": "keyzox71", 217 + "repo": "nixos-hardware", 218 + "rev": "60da09f3e781d83d4f05a669b6d516c6bdb9b21c", 219 + "type": "github" 220 + }, 221 + "original": { 222 + "owner": "keyzox71", 223 + "ref": "master", 224 + "repo": "nixos-hardware", 225 + "type": "github" 226 + } 227 + }, 228 + "nixos-wsl": { 229 + "inputs": { 230 + "flake-compat": "flake-compat", 231 + "nixpkgs": "nixpkgs_4" 232 + }, 233 + "locked": { 234 + "lastModified": 1746453552, 235 + "narHash": "sha256-r66UGha+7KVHkI7ksrcMjnw/mm9Sg4l5bQlylxHwdGU=", 236 + "owner": "nix-community", 237 + "repo": "NixOS-WSL", 238 + "rev": "be618645aa0adf461f778500172b6896d5ab2d01", 239 + "type": "github" 240 + }, 241 + "original": { 242 + "owner": "nix-community", 243 + "ref": "main", 244 + "repo": "NixOS-WSL", 245 + "type": "github" 246 + } 247 + }, 248 + "nixpkgs": { 249 + "locked": { 250 + "lastModified": 1744463964, 251 + "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", 252 + "owner": "NixOS", 253 + "repo": "nixpkgs", 254 + "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", 255 + "type": "github" 256 + }, 257 + "original": { 258 + "owner": "NixOS", 259 + "ref": "nixos-unstable", 260 + "repo": "nixpkgs", 261 + "type": "github" 262 + } 263 + }, 264 + "nixpkgs-lib": { 265 + "locked": { 266 + "lastModified": 1733096140, 267 + "narHash": "sha256-1qRH7uAUsyQI7R1Uwl4T+XvdNv778H0Nb5njNrqvylY=", 268 + "type": "tarball", 269 + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" 270 + }, 271 + "original": { 272 + "type": "tarball", 273 + "url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz" 274 + } 275 + }, 276 + "nixpkgs-lib_2": { 277 + "locked": { 278 + "lastModified": 1722555339, 279 + "narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=", 280 + "type": "tarball", 281 + "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" 282 + }, 283 + "original": { 284 + "type": "tarball", 285 + "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" 286 + } 287 + }, 288 + "nixpkgs_2": { 289 + "locked": { 290 + "lastModified": 1746576598, 291 + "narHash": "sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0=", 292 + "owner": "NixOS", 293 + "repo": "nixpkgs", 294 + "rev": "b3582c75c7f21ce0b429898980eddbbf05c68e55", 295 + "type": "github" 296 + }, 297 + "original": { 298 + "owner": "NixOS", 299 + "ref": "nixpkgs-unstable", 300 + "repo": "nixpkgs", 301 + "type": "github" 302 + } 303 + }, 304 + "nixpkgs_3": { 305 + "locked": { 306 + "lastModified": 1731755305, 307 + "narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=", 308 + "owner": "nixos", 309 + "repo": "nixpkgs", 310 + "rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4", 311 + "type": "github" 312 + }, 313 + "original": { 314 + "owner": "nixos", 315 + "ref": "nixos-24.11", 316 + "repo": "nixpkgs", 317 + "type": "github" 318 + } 319 + }, 320 + "nixpkgs_4": { 321 + "locked": { 322 + "lastModified": 1742937945, 323 + "narHash": "sha256-lWc+79eZRyvHp/SqMhHTMzZVhpxkRvthsP1Qx6UCq0E=", 324 + "owner": "NixOS", 325 + "repo": "nixpkgs", 326 + "rev": "d02d88f8de5b882ccdde0465d8fa2db3aa1169f7", 327 + "type": "github" 328 + }, 329 + "original": { 330 + "owner": "NixOS", 331 + "ref": "nixos-24.11", 332 + "repo": "nixpkgs", 333 + "type": "github" 334 + } 335 + }, 336 + "nixpkgs_5": { 337 + "locked": { 338 + "lastModified": 1746957726, 339 + "narHash": "sha256-k9ut1LSfHCr0AW82ttEQzXVCqmyWVA5+SHJkS5ID/Jo=", 340 + "owner": "nixos", 341 + "repo": "nixpkgs", 342 + "rev": "a39ed32a651fdee6842ec930761e31d1f242cb94", 343 + "type": "github" 344 + }, 345 + "original": { 346 + "owner": "nixos", 347 + "ref": "nixos-24.11", 348 + "repo": "nixpkgs", 349 + "type": "github" 350 + } 351 + }, 352 + "pogit": { 353 + "inputs": { 354 + "flake-parts": "flake-parts", 355 + "nixpkgs": [ 356 + "nixpkgs" 357 + ] 358 + }, 359 + "locked": { 360 + "lastModified": 1745683407, 361 + "narHash": "sha256-KBxdhcU39pctJx1yVSxiWVRNazzBRtwch7NYjwstf5s=", 362 + "owner": "y-syo", 363 + "repo": "pogit", 364 + "rev": "16adbe5cc1f39314761ec53d348cb86b60c901af", 365 + "type": "github" 366 + }, 367 + "original": { 368 + "owner": "y-syo", 369 + "repo": "pogit", 370 + "type": "github" 371 + } 372 + }, 373 + "pogit_2": { 374 + "inputs": { 375 + "flake-parts": "flake-parts_2", 376 + "nixpkgs": [ 377 + "timmy", 378 + "nixpkgs" 379 + ] 380 + }, 381 + "locked": { 382 + "lastModified": 1733081261, 383 + "narHash": "sha256-ID6TNNKUYxJFb4WHUJmE1rZYE/sgNlAovoCVSg79ZBc=", 384 + "owner": "y-syo", 385 + "repo": "pogit", 386 + "rev": "5f46ab7117d5d71aecbda35aac3d1d4572a5651d", 387 + "type": "github" 388 + }, 389 + "original": { 390 + "owner": "y-syo", 391 + "repo": "pogit", 392 + "type": "github" 393 + } 394 + }, 395 + "root": { 396 + "inputs": { 397 + "catppuccin": "catppuccin", 398 + "disko": "disko", 399 + "fastclass": "fastclass", 400 + "home-manager": "home-manager", 401 + "home-unstable": "home-unstable", 402 + "hyprland-contrib": "hyprland-contrib", 403 + "keyznvim": "keyznvim", 404 + "nixos-hardware": "nixos-hardware", 405 + "nixos-wsl": "nixos-wsl", 406 + "nixpkgs": "nixpkgs_5", 407 + "pogit": "pogit", 408 + "timmy": "timmy", 409 + "unstablepkgs": "unstablepkgs", 410 + "zen-browser": "zen-browser" 411 + } 412 + }, 413 + "systems": { 414 + "locked": { 415 + "lastModified": 1681028828, 416 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 417 + "owner": "nix-systems", 418 + "repo": "default", 419 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 420 + "type": "github" 421 + }, 422 + "original": { 423 + "owner": "nix-systems", 424 + "repo": "default", 425 + "type": "github" 426 + } 427 + }, 428 + "timmy": { 429 + "inputs": { 430 + "nixpkgs": [ 431 + "nixpkgs" 432 + ], 433 + "pogit": "pogit_2" 434 + }, 435 + "locked": { 436 + "lastModified": 1733503296, 437 + "narHash": "sha256-TxhEwhEaaUj/8+S/10wvEzuRiHjnqKGxVvZP/xWeogc=", 438 + "owner": "keyzox71", 439 + "repo": "timmy", 440 + "rev": "cbcf83150a59f9a37f0497369244b689e8bb1e57", 441 + "type": "github" 442 + }, 443 + "original": { 444 + "owner": "keyzox71", 445 + "repo": "timmy", 446 + "type": "github" 447 + } 448 + }, 449 + "unstablepkgs": { 450 + "locked": { 451 + "lastModified": 1746904237, 452 + "narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", 453 + "owner": "nixos", 454 + "repo": "nixpkgs", 455 + "rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", 456 + "type": "github" 457 + }, 458 + "original": { 459 + "owner": "nixos", 460 + "ref": "nixos-unstable", 461 + "repo": "nixpkgs", 462 + "type": "github" 463 + } 464 + }, 465 + "zen-browser": { 466 + "inputs": { 467 + "nixpkgs": [ 468 + "nixpkgs" 469 + ] 470 + }, 471 + "locked": { 472 + "lastModified": 1738776963, 473 + "narHash": "sha256-FFbj24WGwWQQ5dFAdySfQrVR0J1Z6bXW7lVUjQcmKnU=", 474 + "owner": "keyzox71", 475 + "repo": "zen-browser-flake", 476 + "rev": "4ed48ef695a5fb07e726b126de26278ed51adcbc", 477 + "type": "github" 478 + }, 479 + "original": { 480 + "owner": "keyzox71", 481 + "repo": "zen-browser-flake", 482 + "type": "github" 483 + } 484 + } 485 + }, 486 + "root": "root", 487 + "version": 7 488 + }
+2 -3
flake.nix
··· 23 23 modules = [ 24 24 ./hosts/DEV-BOYY/default.nix 25 25 26 - disko.nixosModules.disko 27 26 catppuccin.nixosModules.catppuccin 28 - (import nixos-hardware + "/common/cpu/amd") 29 - (import nixos-hardware + "/common/gpu/nvidia/turing") 27 + # (import nixos-hardware + "/common/cpu/amd") 28 + # (import nixos-hardware + "/common/gpu/nvidia/turing") 30 29 ]; 31 30 }; 32 31 LAPTOP-5530-ADAM = nixpkgs.lib.nixosSystem {
+1
hosts/DEV-BOYY/hardware/default.nix
··· 4 4 imports = [ 5 5 ./hardware-configuration.nix 6 6 ]; 7 + hardware.nvidia.open = true; 7 8 }
+66
hosts/DEV-BOYY/hardware/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 + pkgs, 8 + modulesPath, 9 + ... 10 + }: 11 + 12 + { 13 + imports = [ 14 + (modulesPath + "/installer/scan/not-detected.nix") 15 + ]; 16 + 17 + boot.initrd.availableKernelModules = [ 18 + "nvme" 19 + "xhci_pci" 20 + "ahci" 21 + "usbhid" 22 + "uas" 23 + "sd_mod" 24 + ]; 25 + boot.initrd.kernelModules = [ ]; 26 + boot.kernelModules = [ "kvm-amd" ]; 27 + boot.extraModulePackages = [ ]; 28 + 29 + fileSystems."/" = { 30 + device = "/dev/nvme0n1p6"; 31 + fsType = "btrfs"; 32 + options = [ "compress=zstd" ]; 33 + }; 34 + 35 + fileSystems."/boot" = { 36 + device = "/dev/nvme0n1p5"; 37 + fsType = "vfat"; 38 + options = [ 39 + "fmask=0022" 40 + "dmask=0022" 41 + ]; 42 + }; 43 + 44 + fileSystems."/nix/store" = { 45 + device = "/dev/disk/by-label/NIX_STORE"; 46 + fsType = "btrfs"; 47 + options = [ 48 + "compress=zstd" 49 + "noatime" 50 + ]; 51 + }; 52 + 53 + swapDevices = [ 54 + ]; 55 + 56 + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 57 + # (the default) this is the recommended approach. When using systemd-networkd it's 58 + # still possible to use this option, but it's recommended to use it in conjunction 59 + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 60 + networking.useDHCP = lib.mkDefault true; 61 + # networking.interfaces.enp8s0.useDHCP = lib.mkDefault true; 62 + # networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true; 63 + 64 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 65 + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 66 + }
+2 -2
hosts/DEV-BOYY/services/default.nix
··· 2 2 3 3 { 4 4 imports = [ 5 - ./ly.nix 6 - #./sddm.nix 5 + #./ly.nix 6 + ./sddm.nix 7 7 ./sound.nix 8 8 ./network.nix 9 9 ./xserver.nix
+1 -1
hosts/DEV-BOYY/services/network.nix
··· 2 2 3 3 { 4 4 networking = { 5 - hostName = "LAPTOP-5530-ADAM"; 5 + hostName = "DEV-BOYY"; 6 6 networkmanager.enable = true; 7 7 firewall = { 8 8 enable = false;