diff options
Diffstat (limited to 'hosts/glados-wsl/default.nix')
| -rw-r--r-- | hosts/glados-wsl/default.nix | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix index 2846100..b7efacd 100644 --- a/hosts/glados-wsl/default.nix +++ b/hosts/glados-wsl/default.nix @@ -1,19 +1,40 @@ -{ config, modulesPath, pkgs, ...}: - { - imports = [ - (modulesPath + "/profiles/minimal.nix") - ./config.nix - ./packages.nix - ../../users/seth - ]; + config, + modulesPath, + pkgs, + ... +}: { + imports = [ + (modulesPath + "/profiles/minimal.nix") + ./packages.nix + ../../users/seth + ]; + + # enable non-free packages + nixpkgs.config.allowUnfree = true; + + # Enable nix flakes + nix.package = pkgs.nixFlakes; + nix.settings.experimental-features = ["nix-command" "flakes"]; + + system.stateVersion = "22.11"; + + # hardware = { + # nvidia.package = boot.kernelPackages.nvidiaPackages.stable; + # xserver = { + # videoDrivers = [ "nvidia" ]; + # }; + # opengl.enable = true; + # }; + + networking.hostName = "glados-wsl"; - # enable non-free packages - nixpkgs.config.allowUnfree = true; - - # Enable nix flakes - nix.package = pkgs.nixFlakes; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - - system.stateVersion = "22.11"; + programs = { + gnupg = { + agent = { + enable = true; + pinentryFlavor = "curses"; + }; + }; + }; } |
