diff options
Diffstat (limited to 'hosts/underworld')
| -rw-r--r-- | hosts/underworld/default.nix | 26 | ||||
| -rw-r--r-- | hosts/underworld/hardware.nix | 20 | ||||
| -rw-r--r-- | hosts/underworld/home.nix | 9 |
3 files changed, 42 insertions, 13 deletions
diff --git a/hosts/underworld/default.nix b/hosts/underworld/default.nix index 81af671..cde0707 100644 --- a/hosts/underworld/default.nix +++ b/hosts/underworld/default.nix @@ -1,4 +1,10 @@ -{ pkgs, flakeRoot, inputs, ... }: { +{ + pkgs, + flakeRoot, + inputs, + ... +}: +{ imports = [ # Include the results of the hardware scan. ./hardware.nix @@ -7,7 +13,11 @@ ./home.nix (flakeRoot + /share/system/client-common.nix) #(flakeRoot + /share/system/spotifyd.nix) - { _module.args = { inherit inputs; }; } + { + _module.args = { + inherit inputs; + }; + } ]; programs.fish.enable = true; @@ -29,11 +39,19 @@ users.users = { osiris = { isNormalUser = true; - extraGroups = [ "wheel" "video" "network" "podman" ]; + extraGroups = [ + "wheel" + "video" + "network" + "podman" + ]; }; guest = { isNormalUser = true; - extraGroups = [ "video" "network" ]; + extraGroups = [ + "video" + "network" + ]; }; }; diff --git a/hosts/underworld/hardware.nix b/hosts/underworld/hardware.nix index 305d6ce..b66b797 100644 --- a/hosts/underworld/hardware.nix +++ b/hosts/underworld/hardware.nix @@ -1,15 +1,23 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, modulesPath, ... }: +{ + config, + lib, + modulesPath, + ... +}: { - imports = - [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "usbhid" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; diff --git a/hosts/underworld/home.nix b/hosts/underworld/home.nix index 90a85e5..bf652d0 100644 --- a/hosts/underworld/home.nix +++ b/hosts/underworld/home.nix @@ -1,9 +1,12 @@ -{ flakeRoot, inputs, ... }: { +{ flakeRoot, inputs, ... }: +{ home-manager = { useGlobalPkgs = true; useUserPackages = true; - sharedModules = [{ programs.fish.enable = true; }]; - extraSpecialArgs = { inherit inputs; }; + sharedModules = [ { programs.fish.enable = true; } ]; + extraSpecialArgs = { + inherit inputs; + }; }; home-manager.users.osiris = { |
