1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Add catullus

This commit is contained in:
System administrator
2019-01-30 11:48:35 +00:00
parent b94da2d550
commit a6bf4a4793
2 changed files with 29 additions and 0 deletions

9
systems/catullus/config.nix Executable file
View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
imports = [ ../slim.nix ];
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
networking.hostName = "catullus";
}

20
systems/catullus/physical.nix Executable file
View File

@@ -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; } ];
}