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 | 9a17a273cd3ceaf90d9f43347cc3db6b2fb18201 (patch) | |
tree | dccefa0ef3849ae2768a8e385dea4677df3968cc /tv | |
parent | 860a42f47910e49278d4b4a926fe896cbbc12cfd (diff) |
tv ru: init
Diffstat (limited to 'tv')
-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 0000000..e66cdde --- /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"; +} |