diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-04-23 21:07:23 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-04-23 21:07:23 +0200 |
| commit | 9dddbe15c421b9f62cddee6f8cc4147f9d40cd86 (patch) | |
| tree | 09faca0dc83a29082cabf469d462f19d47492ab9 /installer.nix | |
| parent | 448ec9307e28033231bde607026381a586e796bb (diff) | |
| download | nixos-9dddbe15c421b9f62cddee6f8cc4147f9d40cd86.tar nixos-9dddbe15c421b9f62cddee6f8cc4147f9d40cd86.tar.gz nixos-9dddbe15c421b9f62cddee6f8cc4147f9d40cd86.tar.bz2 nixos-9dddbe15c421b9f62cddee6f8cc4147f9d40cd86.tar.xz nixos-9dddbe15c421b9f62cddee6f8cc4147f9d40cd86.zip | |
clevis: implement luksroot support
Diffstat (limited to 'installer.nix')
| -rw-r--r-- | installer.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/installer.nix b/installer.nix index 64629674..3987e8ab 100644 --- a/installer.nix +++ b/installer.nix | |||
| @@ -1 +1,17 @@ | |||
| 1 | {...}: {} | 1 | { flake, ... }: { |
| 2 | imports = with flake.nixosModules.systemProfiles; [ | ||
| 3 | default-locale | ||
| 4 | ]; | ||
| 5 | |||
| 6 | config = { | ||
| 7 | networking.firewall = { | ||
| 8 | enable = true; | ||
| 9 | allowedTCPPorts = [ 22 # ssh | ||
| 10 | ]; | ||
| 11 | }; | ||
| 12 | |||
| 13 | systemd.services."sshd".wantedBy = ["multi-user.target"]; | ||
| 14 | |||
| 15 | services.qemuGuest.enable = true; | ||
| 16 | }; | ||
| 17 | } | ||
