diff --git a/systems/catullus/config.nix b/systems/catullus/config.nix new file mode 100755 index 0000000..974e905 --- /dev/null +++ b/systems/catullus/config.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: +{ + imports = [ ../slim.nix ]; + + boot.loader.grub.enable = false; + boot.loader.generic-extlinux-compatible.enable = true; + + networking.hostName = "catullus"; +} diff --git a/systems/catullus/physical.nix b/systems/catullus/physical.nix new file mode 100755 index 0000000..20ec1ac --- /dev/null +++ b/systems/catullus/physical.nix @@ -0,0 +1,20 @@ +{ config, lib, pkgs, ... }: +{ + imports = [ ./config.nix ]; + + boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelParams = [ "cma=32M" ]; + + fileSystems = { + "/boot" = { + device = "/dev/disk/by-label/NIXOS_BOOT"; + fsType = "vfat"; + }; + "/" = { + device = "/dev/disk/by-label/NIXOS_SD"; + fsType = "ext4"; + }; + }; + + swapDevices = [ { device = "/swapfile"; size = 1024; } ]; +}