diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-11-21 12:11:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-11-21 12:11:55 +0100 |
commit | bde3c17e178e9c56422ab7da1c61d2718dfc5567 (patch) | |
tree | 84a2172ffe36f57fc405caa2638ada1442a5440b /installer | |
parent | 247b0f4b3f461a8077c64fbb9f0903ce15384c13 (diff) | |
download | nixos-bde3c17e178e9c56422ab7da1c61d2718dfc5567.tar nixos-bde3c17e178e9c56422ab7da1c61d2718dfc5567.tar.gz nixos-bde3c17e178e9c56422ab7da1c61d2718dfc5567.tar.bz2 nixos-bde3c17e178e9c56422ab7da1c61d2718dfc5567.tar.xz nixos-bde3c17e178e9c56422ab7da1c61d2718dfc5567.zip |
...
Diffstat (limited to 'installer')
-rw-r--r-- | installer/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/installer/default.nix b/installer/default.nix index 9043d59b..912a0ce9 100644 --- a/installer/default.nix +++ b/installer/default.nix | |||
@@ -1,4 +1,8 @@ | |||
1 | { flake, config, pkgs, ... }: { | 1 | { flake, config, pkgs, lib, ... }: |
2 | |||
3 | with lib; | ||
4 | |||
5 | { | ||
2 | imports = with flake.nixosModules.systemProfiles; [ | 6 | imports = with flake.nixosModules.systemProfiles; [ |
3 | default-locale zfs networkmanager openssh | 7 | default-locale zfs networkmanager openssh |
4 | ]; | 8 | ]; |
@@ -13,6 +17,7 @@ | |||
13 | rulesetFile = ./ruleset.nft; | 17 | rulesetFile = ./ruleset.nft; |
14 | }; | 18 | }; |
15 | }; | 19 | }; |
20 | users.groups."networkmanager".members = [ "nixos" ]; | ||
16 | 21 | ||
17 | services.openssh = { | 22 | services.openssh = { |
18 | enable = true; | 23 | enable = true; |
@@ -21,10 +26,6 @@ | |||
21 | 26 | ||
22 | services.qemuGuest.enable = true; | 27 | services.qemuGuest.enable = true; |
23 | 28 | ||
24 | services.resolved = { | ||
25 | llmnr = "false"; | ||
26 | }; | ||
27 | |||
28 | environment.systemPackages = with pkgs; [ | 29 | environment.systemPackages = with pkgs; [ |
29 | nvme-cli iotop pciutils bottom | 30 | nvme-cli iotop pciutils bottom |
30 | 31 | ||
@@ -48,6 +49,8 @@ | |||
48 | }; | 49 | }; |
49 | nixpkgs.config.allowUnfree = true; | 50 | nixpkgs.config.allowUnfree = true; |
50 | 51 | ||
52 | nix.settings.auto-allocate-uids = mkForce false; | ||
53 | |||
51 | system.stateVersion = config.system.nixos.release; # No state in installer | 54 | system.stateVersion = config.system.nixos.release; # No state in installer |
52 | }; | 55 | }; |
53 | } | 56 | } |