Browse Source

updated lxc-template

pull/1/head
Markus Schmidl 1 year ago
parent
commit
ea75cc0233
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      hosts/containers/lxc-template.nix

+ 6
- 0
hosts/containers/lxc-template.nix View File

@@ -8,11 +8,17 @@
8 8
   imports =
9 9
     [ ../../lib/lxc-container.nix
10 10
       ../../lib/shared.nix
11
+      ../../lib/admins.nix
11 12
     ];
12 13
 
13 14
   networking.hostName = "nixbert"; # Define your hostname.
14 15
   networking.useNetworkd = false;
15 16
 
17
+  services.openssh = {
18
+    enable = true;
19
+    permitRootLogin = "yes";
20
+  };
21
+
16 22
   # List packages installed in system profile. To search, run:
17 23
   # $ nix search wget
18 24
   environment.systemPackages = with pkgs; [

Loading…
Cancel
Save