diff options
author | tv <tv@krebsco.de> | 2023-01-31 01:20:19 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-31 01:20:19 +0100 |
commit | cbc84f9bc6c988f5691d407f65e84c5729653463 (patch) | |
tree | 2e49232f6ad7a587225713fb77363ff0b7616a68 | |
parent | 9d615e2828de2f2f0eeb0848d5080dafc16ba705 (diff) |
tv ru: init
-rw-r--r-- | tv/1systems/ru/config.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tv/1systems/ru/config.nix b/tv/1systems/ru/config.nix new file mode 100644 index 000000000..e66cddead --- /dev/null +++ b/tv/1systems/ru/config.nix @@ -0,0 +1,34 @@ +with import ./lib; +{ config, ... }: { + imports = [ + ../.. + ../../2configs/hw/winmax2.nix + ../../2configs/retiolum.nix + ../../2configs/wiregrill.nix + ]; + + boot.initrd.luks.devices.main.device = "/dev/nvme0n1p2"; + boot.loader.efi.canTouchEfiVariables = true; + boot.loader.systemd-boot.enable = true; + + fileSystems."/" = { + device = "main/root"; + fsType = "zfs"; + }; + fileSystems."/boot" = { + device = "/dev/nvme0n1p1"; + fsType = "vfat"; + }; + fileSystems."/home" = { + device = "main/home"; + fsType = "zfs"; + }; + fileSystems."/bku" = { + device = "main/bku"; + fsType = "zfs"; + }; + + krebs.build.host = config.krebs.hosts.ru; + + system.stateVersion = "22.11"; +} |