โ„๏ธ 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: things are happening

adjoly b701d1a6 15ddb65b

+208 -24
+157 -13
flake.lock
··· 254 254 "type": "github" 255 255 } 256 256 }, 257 + "flake-compat_4": { 258 + "flake": false, 259 + "locked": { 260 + "lastModified": 1767039857, 261 + "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", 262 + "owner": "NixOS", 263 + "repo": "flake-compat", 264 + "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", 265 + "type": "github" 266 + }, 267 + "original": { 268 + "owner": "NixOS", 269 + "repo": "flake-compat", 270 + "type": "github" 271 + } 272 + }, 257 273 "flake-parts": { 258 274 "inputs": { 259 275 "nixpkgs-lib": [ ··· 389 405 "type": "github" 390 406 } 391 407 }, 408 + "git-hooks": { 409 + "inputs": { 410 + "flake-compat": "flake-compat_3", 411 + "gitignore": "gitignore_2", 412 + "nixpkgs": "nixpkgs_3" 413 + }, 414 + "locked": { 415 + "lastModified": 1776796298, 416 + "narHash": "sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8=", 417 + "owner": "cachix", 418 + "repo": "git-hooks.nix", 419 + "rev": "3cfd774b0a530725a077e17354fbdb87ea1c4aad", 420 + "type": "github" 421 + }, 422 + "original": { 423 + "owner": "cachix", 424 + "repo": "git-hooks.nix", 425 + "type": "github" 426 + } 427 + }, 392 428 "git-hooks-nix": { 393 429 "inputs": { 394 430 "flake-compat": "flake-compat", ··· 437 473 "type": "github" 438 474 } 439 475 }, 476 + "gitignore_2": { 477 + "inputs": { 478 + "nixpkgs": [ 479 + "niri-nix", 480 + "git-hooks", 481 + "nixpkgs" 482 + ] 483 + }, 484 + "locked": { 485 + "lastModified": 1709087332, 486 + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", 487 + "owner": "hercules-ci", 488 + "repo": "gitignore.nix", 489 + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", 490 + "type": "github" 491 + }, 492 + "original": { 493 + "owner": "hercules-ci", 494 + "repo": "gitignore.nix", 495 + "type": "github" 496 + } 497 + }, 440 498 "home-manager": { 441 499 "inputs": { 442 500 "nixpkgs": [ ··· 466 524 ] 467 525 }, 468 526 "locked": { 469 - "lastModified": 1774991950, 470 - "narHash": "sha256-kScKj3qJDIWuN9/6PMmgy5esrTUkYinrO5VvILik/zw=", 527 + "lastModified": 1776184304, 528 + "narHash": "sha256-No6QGBmIv5ChiwKCcbkxjdEQ/RO2ZS1gD7SFy6EZ7rc=", 471 529 "owner": "nix-community", 472 530 "repo": "home-manager", 473 - "rev": "f2d3e04e278422c7379e067e323734f3e8c585a7", 531 + "rev": "3c7524c68348ef79ce48308e0978611a050089b2", 474 532 "type": "github" 475 533 }, 476 534 "original": { ··· 555 613 "type": "github" 556 614 } 557 615 }, 616 + "niri-nix": { 617 + "inputs": { 618 + "git-hooks": "git-hooks", 619 + "niri-unstable": "niri-unstable", 620 + "nixpkgs": "nixpkgs_4", 621 + "xwayland-satellite-unstable": "xwayland-satellite-unstable" 622 + }, 623 + "locked": { 624 + "lastModified": 1777076678, 625 + "narHash": "sha256-QRy7PfBa3x0e8SOnHSyMi3A4xOGumnXf/wpNnXxJ6Zk=", 626 + "ref": "refs/heads/main", 627 + "rev": "ebbc84b70ec0c7c9476e6739014875ce6bb1677c", 628 + "revCount": 96, 629 + "type": "git", 630 + "url": "https://codeberg.org/BANanaD3V/niri-nix" 631 + }, 632 + "original": { 633 + "type": "git", 634 + "url": "https://codeberg.org/BANanaD3V/niri-nix" 635 + } 636 + }, 637 + "niri-unstable": { 638 + "flake": false, 639 + "locked": { 640 + "lastModified": 1777045529, 641 + "narHash": "sha256-EeAwmrvONsovL2qPwKGXF2xGhbo7MySesY3fW2pNLpM=", 642 + "owner": "YaLTeR", 643 + "repo": "niri", 644 + "rev": "9438f59e2b9d8deb6fcec5922f8aca18162b673c", 645 + "type": "github" 646 + }, 647 + "original": { 648 + "owner": "YaLTeR", 649 + "repo": "niri", 650 + "type": "github" 651 + } 652 + }, 558 653 "nix": { 559 654 "inputs": { 560 655 "flake-parts": "flake-parts", ··· 580 675 "inputs": { 581 676 "cachyos-kernel": "cachyos-kernel", 582 677 "cachyos-kernel-patches": "cachyos-kernel-patches", 583 - "flake-compat": "flake-compat_3", 678 + "flake-compat": "flake-compat_4", 584 679 "flake-parts": "flake-parts_3", 585 - "nixpkgs": "nixpkgs_3" 680 + "nixpkgs": "nixpkgs_5" 586 681 }, 587 682 "locked": { 588 683 "lastModified": 1776796985, ··· 771 866 }, 772 867 "nixpkgs_3": { 773 868 "locked": { 869 + "lastModified": 1770073757, 870 + "narHash": "sha256-Vy+G+F+3E/Tl+GMNgiHl9Pah2DgShmIUBJXmbiQPHbI=", 871 + "owner": "NixOS", 872 + "repo": "nixpkgs", 873 + "rev": "47472570b1e607482890801aeaf29bfb749884f6", 874 + "type": "github" 875 + }, 876 + "original": { 877 + "owner": "NixOS", 878 + "ref": "nixpkgs-unstable", 879 + "repo": "nixpkgs", 880 + "type": "github" 881 + } 882 + }, 883 + "nixpkgs_4": { 884 + "locked": { 885 + "lastModified": 1776877367, 886 + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", 887 + "owner": "nixos", 888 + "repo": "nixpkgs", 889 + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", 890 + "type": "github" 891 + }, 892 + "original": { 893 + "owner": "nixos", 894 + "ref": "nixos-unstable", 895 + "repo": "nixpkgs", 896 + "type": "github" 897 + } 898 + }, 899 + "nixpkgs_5": { 900 + "locked": { 774 901 "lastModified": 1776750258, 775 902 "narHash": "sha256-jab3OFEK7MpiAolaLBjvIxdf258UWvvusWxPJPE5ito=", 776 903 "owner": "NixOS", ··· 785 912 "type": "github" 786 913 } 787 914 }, 788 - "nixpkgs_4": { 915 + "nixpkgs_6": { 789 916 "locked": { 790 917 "lastModified": 1775811116, 791 918 "narHash": "sha256-t+HZK42pB6N+i5RGbuy7Xluez/VvWbembBdvzsc23Ss=", ··· 950 1077 "home-manager": "home-manager", 951 1078 "hyprland-contrib": "hyprland-contrib", 952 1079 "lanzaboote": "lanzaboote", 1080 + "niri-nix": "niri-nix", 953 1081 "nix-cachyos-kernel": "nix-cachyos-kernel", 954 1082 "nixos-generators": "nixos-generators", 955 1083 "nixos-hardware": "nixos-hardware", 956 - "nixpkgs": "nixpkgs_4", 1084 + "nixpkgs": "nixpkgs_6", 957 1085 "nixpkgs-2311": "nixpkgs-2311", 958 1086 "nixvim": "nixvim", 959 1087 "pogit": "pogit", ··· 1057 1185 }, 1058 1186 "unstablepkgs": { 1059 1187 "locked": { 1060 - "lastModified": 1775710090, 1061 - "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", 1188 + "lastModified": 1776877367, 1189 + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", 1062 1190 "owner": "nixos", 1063 1191 "repo": "nixpkgs", 1064 - "rev": "4c1018dae018162ec878d42fec712642d214fdfa", 1192 + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", 1065 1193 "type": "github" 1066 1194 }, 1067 1195 "original": { ··· 1071 1199 "type": "github" 1072 1200 } 1073 1201 }, 1202 + "xwayland-satellite-unstable": { 1203 + "flake": false, 1204 + "locked": { 1205 + "lastModified": 1773622265, 1206 + "narHash": "sha256-wToKwH7IgWdGLMSIWksEDs4eumR6UbbsuPQ42r0oTXQ=", 1207 + "owner": "Supreeeme", 1208 + "repo": "xwayland-satellite", 1209 + "rev": "a879e5e0896a326adc79c474bf457b8b99011027", 1210 + "type": "github" 1211 + }, 1212 + "original": { 1213 + "owner": "Supreeeme", 1214 + "repo": "xwayland-satellite", 1215 + "type": "github" 1216 + } 1217 + }, 1074 1218 "zen-browser": { 1075 1219 "inputs": { 1076 1220 "home-manager": "home-manager_2", ··· 1079 1223 ] 1080 1224 }, 1081 1225 "locked": { 1082 - "lastModified": 1775961625, 1083 - "narHash": "sha256-8SjilptVv9dSTvn0Z5j65vHHu+flmPXeyrGaSyRJm7U=", 1226 + "lastModified": 1777084302, 1227 + "narHash": "sha256-qHE5XpgtRedzND5xzaqzbSOw4amse0aA4/BaVI4ONcU=", 1084 1228 "owner": "0xc000022070", 1085 1229 "repo": "zen-browser-flake", 1086 - "rev": "0eaab249f5ca1c55921e99cfe07187410758c9fa", 1230 + "rev": "f6bab88f8566ddc13fb5e5500bd6c720b61d5321", 1087 1231 "type": "github" 1088 1232 }, 1089 1233 "original": {
+4
flake.nix
··· 321 321 322 322 determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; 323 323 324 + niri-nix = { 325 + url = "git+https://codeberg.org/BANanaD3V/niri-nix"; 326 + }; 327 + 324 328 }; 325 329 }
+1 -3
hosts/LAPTOP-5530/default.nix
··· 1 1 { 2 - inputs, 3 - pkgs, 4 - config, 5 2 ... 6 3 }: 7 4 ··· 25 22 programs = { 26 23 docker.enable = true; 27 24 steam.enable = true; 25 + # niri.enable = true; 28 26 }; 29 27 }; 30 28 system.stateVersion = "24.11";
+2 -4
hosts/LAPTOP-5530/hardware-configuration.nix
··· 1 1 { 2 2 inputs, 3 + config, 3 4 pkgs, 4 5 ... 5 6 }: ··· 9 10 nix.settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ]; 10 11 boot.kernelPackages = 11 12 inputs.nix-cachyos-kernel.legacyPackages.${pkgs.stdenv.hostPlatform.system}.linuxPackages-cachyos-latest-lto-x86_64-v3; 12 - # boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v3; 13 - # nixpkgs.overlays = [ 14 - # inputs.nix-cachyos-kernel.overlays.default 15 - # ]; 13 + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_580; 16 14 17 15 networking.hostName = "LAPTOP-5530"; 18 16 nixpkgs.hostPlatform = "x86_64-linux";
+1 -1
modules/home-manager/gui/gui-app.nix
··· 15 15 home.packages = with pkgs; [ 16 16 # vlc 17 17 beeper 18 - vesktop 18 + unstable.vesktop 19 19 inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default 20 20 inputs.hyprland-contrib.packages.${pkgs.stdenv.hostPlatform.system}.grimblast 21 21
-3
modules/home-manager/gui/wm/dms.nix
··· 12 12 }; 13 13 14 14 config = lib.mkIf config.keyzox.dms.enable { 15 - # keyzox.hypridle.enable = true; 16 - 17 15 programs.dank-material-shell = { 18 16 enable = true; 19 17 package = pkgs.unstable.dms-shell; 20 - quickshell.package = pkgs.unstable.quickshell; 21 18 22 19 dgop.package = inputs.dgop.packages.${pkgs.stdenv.hostPlatform.system}.default; 23 20 plugins = {
+11
modules/home-manager/gui/wm/niri.nix
··· 1 + { 2 + pkgs, 3 + inputs, 4 + config, 5 + lib, 6 + ... 7 + }: 8 + 9 + { 10 + 11 + }
+1
modules/nixos/programs/default.nix
··· 6 6 imports = [ 7 7 ./nh.nix 8 8 ./hyprland.nix 9 + ./niri.nix 9 10 ./btop.nix 10 11 ./gnome-keyring.nix 11 12 ./app-image.nix
+31
modules/nixos/programs/niri.nix
··· 1 + { 2 + config, 3 + lib, 4 + inputs, 5 + pkgs, 6 + ... 7 + }: 8 + 9 + { 10 + options = { 11 + keyzox.programs.niri.enable = lib.mkEnableOption "Can be used to enable niri system wide"; 12 + }; 13 + 14 + config = lib.mkIf config.keyzox.programs.niri.enable { 15 + nix.settings = { 16 + substituters = [ 17 + "https://niri-nix.cachix.org" 18 + ]; 19 + trusted-public-keys = [ 20 + "niri-nix.cachix.org-1:SvFtqpDcf7Sm1SMJdby1/+Y+6f3Yt3/3PMcSTKPJNJ0=" 21 + ]; 22 + }; 23 + nixpkgs.overlays = [ inputs.niri-nix.overlays.niri-nix ]; 24 + programs.niri = { 25 + enable = true; 26 + # withUWSM = true; 27 + # withXDG = true; 28 + package = pkgs.niri-unstable; 29 + }; 30 + }; 31 + }