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