diff options
Diffstat (limited to 'hosts/glados-wsl')
| -rw-r--r-- | hosts/glados-wsl/config.nix | 22 | ||||
| -rw-r--r-- | hosts/glados-wsl/default.nix | 19 | ||||
| -rw-r--r-- | hosts/glados-wsl/packages.nix | 11 |
3 files changed, 52 insertions, 0 deletions
diff --git a/hosts/glados-wsl/config.nix b/hosts/glados-wsl/config.nix new file mode 100644 index 0000000..7a649af --- /dev/null +++ b/hosts/glados-wsl/config.nix @@ -0,0 +1,22 @@ +{ config, pkgs, ...}: + +{ + # hardware = { + # nvidia.package = boot.kernelPackages.nvidiaPackages.stable; + # xserver = { + # videoDrivers = [ "nvidia" ]; + # }; + # opengl.enable = true; + # }; + + networking.hostName = "glados-wsl"; + + programs = { + gnupg = { + agent = { + enable = true; + pinentryFlavor = "curses"; + }; + }; + }; +} diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix new file mode 100644 index 0000000..2846100 --- /dev/null +++ b/hosts/glados-wsl/default.nix @@ -0,0 +1,19 @@ +{ config, modulesPath, pkgs, ...}: + +{ + imports = [ + (modulesPath + "/profiles/minimal.nix") + ./config.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"; +} diff --git a/hosts/glados-wsl/packages.nix b/hosts/glados-wsl/packages.nix new file mode 100644 index 0000000..bfca6df --- /dev/null +++ b/hosts/glados-wsl/packages.nix @@ -0,0 +1,11 @@ +{ confg, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + git + neofetch + nixos-option + python310 + vim + ]; +} |
