diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2025-10-27 11:46:45 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2025-10-27 11:46:45 +0530 |
| commit | b49553a6fd6a1376b61a57f3e414099e86e513cc (patch) | |
| tree | d314a6ce0e38e25ea532159bd70a36e1354431a8 /flake.nix | |
| parent | 84085c5ef88df567149c09a0c912da6d7254790a (diff) | |
nvidia configurable
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -15,6 +15,7 @@ system = "x86_64-linux"; username = "aargh"; hostname = "pegasus"; + nvidia = true; # This is where I have keep the dotfiles folder, replace it accordingly symlinkRoot = "/home/${username}/dotfiles"; @@ -30,7 +31,9 @@ in { nixosConfigurations.main = nixpkgs.lib.nixosSystem { inherit system; - specialArgs = { inherit inputs username hostname unstable symlinkRoot; }; + specialArgs = { + inherit inputs username hostname unstable symlinkRoot nvidia; + }; modules = [ ./nixos/configuration.nix @@ -38,7 +41,9 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.extraSpecialArgs = { inherit username unstable symlinkRoot; }; + home-manager.extraSpecialArgs = { + inherit username unstable symlinkRoot; + }; home-manager.backupFileExtension = "hm-backup"; home-manager.users.${username} = import ./home-manager/home.nix; } |
