diff options
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/dule/config.nix | 36 | ||||
| -rw-r--r-- | systems/dule/spec.nix | 3 |
2 files changed, 39 insertions, 0 deletions
diff --git a/systems/dule/config.nix b/systems/dule/config.nix new file mode 100644 index 00000000..5ded2685 --- /dev/null +++ b/systems/dule/config.nix @@ -0,0 +1,36 @@ +{ config, pkgs, ... }: { + imports = [ + ../../configs/hw/tiny5.nix + ../../configs/initrd/sshd.nix + ]; + + boot.kernelPackages = pkgs.linuxPackages_latest; + + boot.initrd.luks.devices.main.device = "/dev/sda2"; + boot.loader.efi.canTouchEfiVariables = true; + boot.loader.systemd-boot.enable = true; + + fileSystems."/" = { + device = "/dev/mapper/wuvga-root"; + fsType = "ext4"; + options = ["defaults" "noatime"]; + }; + fileSystems."/boot" = { + device = "/dev/sda1"; + fsType = "vfat"; + }; + fileSystems."/home" = { + device = "/dev/mapper/wuvga-home"; + fsType = "ext4"; + options = ["defaults" "noatime"]; + }; + fileSystems."/bku" = { + device = "/dev/mapper/wuvga-bku"; + fsType = "ext4"; + options = ["defaults" "noatime"]; + }; + + krebs.build.host = config.krebs.hosts.dule; + + system.stateVersion = "23.05"; +} diff --git a/systems/dule/spec.nix b/systems/dule/spec.nix new file mode 100644 index 00000000..efab0596 --- /dev/null +++ b/systems/dule/spec.nix @@ -0,0 +1,3 @@ +{ + system = "x86_64-linux"; +} |
