diff options
Diffstat (limited to 'hosts/glados-wsl')
| -rw-r--r-- | hosts/glados-wsl/default.nix | 33 | ||||
| -rw-r--r-- | hosts/glados-wsl/packages.nix | 19 |
2 files changed, 17 insertions, 35 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix index d77baf6..bc9bdd2 100644 --- a/hosts/glados-wsl/default.nix +++ b/hosts/glados-wsl/default.nix @@ -1,22 +1,23 @@ { - config, - modulesPath, - pkgs, - ... + config, + modulesPath, + pkgs, + ... }: { - imports = [ - (modulesPath + "/profiles/minimal.nix") - ../common - ./packages.nix - ../../users/seth - ]; + imports = [ + (modulesPath + "/profiles/minimal.nix") + ../common + ../../users/seth + ]; - # enable non-free packages - nixpkgs.config.allowUnfree = true; + sys.wsl.enable = true; - # Enable nix flakes - nix.package = pkgs.nixFlakes; - nix.settings.experimental-features = ["nix-command" "flakes"]; + # enable non-free packages + nixpkgs.config.allowUnfree = true; - system.stateVersion = "22.11"; + # Enable nix flakes + nix.package = pkgs.nixFlakes; + nix.settings.experimental-features = ["nix-command" "flakes"]; + + system.stateVersion = "22.11"; } diff --git a/hosts/glados-wsl/packages.nix b/hosts/glados-wsl/packages.nix deleted file mode 100644 index dbb0091..0000000 --- a/hosts/glados-wsl/packages.nix +++ /dev/null @@ -1,19 +0,0 @@ -{pkgs, ...}: { - environment.systemPackages = with pkgs; [ - git - neofetch - nixos-option - pinentry-curses - python310 - vim - ]; - - programs = { - gnupg = { - agent = { - enable = true; - pinentryFlavor = "curses"; - }; - }; - }; -} |
