From 1f3e4b6ad522a186d2b693953b4c6f5ab1e892b7 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Dec 2022 08:10:15 +0000 Subject: add editorconfig and alejandra --- hosts/glados-wsl/default.nix | 63 ++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 31 deletions(-) (limited to 'hosts/glados-wsl/default.nix') 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"; + }; + }; + }; } -- cgit v1.2.3