diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/kaworu.nix | 24 | ||||
-rw-r--r-- | hosts/shinji.nix | 24 |
2 files changed, 24 insertions, 24 deletions
diff --git a/hosts/kaworu.nix b/hosts/kaworu.nix index cf98de7..b481be0 100644 --- a/hosts/kaworu.nix +++ b/hosts/kaworu.nix @@ -1,15 +1,13 @@ # Kaworu # System configuration for my desktop - { inputs, options, ... }: - inputs.nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; - specialArgs = { inherit inputs; }; + specialArgs = {inherit inputs;}; modules = [ options ../config @@ -19,10 +17,12 @@ inputs.nixpkgs.lib.nixosSystem rec { { # options hostName = "kaworu"; - monitors = [{ - name = "HDMI-A-1"; - scale = 1.0; - }]; + monitors = [ + { + name = "HDMI-A-1"; + scale = 1.0; + } + ]; # hardware hardware.graphics.enable = true; @@ -43,9 +43,9 @@ inputs.nixpkgs.lib.nixosSystem rec { "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; + boot.extraModulePackages = []; # firmware hardware.enableRedistributableFirmware = true; @@ -64,11 +64,11 @@ inputs.nixpkgs.lib.nixosSystem rec { fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/099A-D668"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + options = ["fmask=0022" "dmask=0022"]; }; # swap - swapDevices = [ ]; + swapDevices = []; } ]; } diff --git a/hosts/shinji.nix b/hosts/shinji.nix index 563e6ad..44116a7 100644 --- a/hosts/shinji.nix +++ b/hosts/shinji.nix @@ -1,15 +1,13 @@ # Shinji # System configuration for my laptop - { inputs, options, ... }: - inputs.nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; - specialArgs = { inherit inputs; }; + specialArgs = {inherit inputs;}; modules = [ options ../config @@ -19,10 +17,12 @@ inputs.nixpkgs.lib.nixosSystem rec { { # options hostName = "shinji"; - monitors = [{ - name = "eDP-1"; - scale = 1.25; - }]; + monitors = [ + { + name = "eDP-1"; + scale = 1.25; + } + ]; # set power btn to suspend services.logind.extraConfig = '' @@ -49,9 +49,9 @@ inputs.nixpkgs.lib.nixosSystem rec { "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.initrd.kernelModules = []; + boot.kernelModules = ["kvm-amd"]; + boot.extraModulePackages = []; # firmware hardware.enableRedistributableFirmware = true; @@ -70,12 +70,12 @@ inputs.nixpkgs.lib.nixosSystem rec { fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/6F93-6A0B"; fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; + options = ["fmask=0022" "dmask=0022"]; }; # swap swapDevices = [ - { device = "/dev/disk/by-uuid/57caa02d-8569-43e3-8bf9-09dd6f02b191"; } + {device = "/dev/disk/by-uuid/57caa02d-8569-43e3-8bf9-09dd6f02b191";} ]; } ]; |