summaryrefslogtreecommitdiff
path: root/hosts/kaworu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/kaworu.nix')
-rw-r--r--hosts/kaworu.nix24
1 files changed, 12 insertions, 12 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 = [];
}
];
}