diff options
author | tzlil <tzlils@protonmail.com> | 2023-02-17 17:46:47 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-02-17 17:46:47 +0200 |
commit | 222c7e35d7e9507f6eb8d67bb7af3ef9e623d0f3 (patch) | |
tree | 9b7f8ba8debdca1c2ca3739844d0fe4b3113209e /hosts/vps/cfg.nix | |
parent | 3c3e4531dac7f4ab591bf391be72a11121b45673 (diff) |
added alejandra as formatter and formatted everything
Diffstat (limited to 'hosts/vps/cfg.nix')
-rw-r--r-- | hosts/vps/cfg.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/hosts/vps/cfg.nix b/hosts/vps/cfg.nix index a8159ea..3c7787b 100644 --- a/hosts/vps/cfg.nix +++ b/hosts/vps/cfg.nix @@ -1,4 +1,9 @@ -{config, lib, pkgs, ...}: { +{ + config, + lib, + pkgs, + ... +}: { imports = [ ../../profiles/core.nix ../../profiles/user.nix @@ -19,7 +24,7 @@ }; networking.hostName = "vps"; - + boot = { kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; kernelParams = [ @@ -32,7 +37,7 @@ cleanTmpDir = true; loader.grub.device = "/dev/vda"; initrd = { - availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; + availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; kernelModules = []; }; kernelModules = []; @@ -63,11 +68,11 @@ }; }; - swapDevices = [ { device = "/dev/disk/by-uuid/00eb2d2e-4d7c-4e95-804d-e9ecb22679d4"; } ]; + swapDevices = [{device = "/dev/disk/by-uuid/00eb2d2e-4d7c-4e95-804d-e9ecb22679d4";}]; zramSwap = { enable = true; algorithm = "zstd"; }; }; -} \ No newline at end of file +} |