diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-20 16:59:39 -0400 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2017-05-20 16:59:39 -0400 |
commit | 734194e50dbcc553334e2857ebab144c8c60e975 (patch) | |
tree | 828b56b19eb8f1da7b805a0d805419e5abf28dda /machines | |
parent | 270fe8ad7f50642f75b01bf5bd84ac04b1bf4dc9 (diff) |
zohofi: Add config
Diffstat (limited to 'machines')
-rw-r--r-- | machines/container-zohofi.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/machines/container-zohofi.nix b/machines/container-zohofi.nix new file mode 100644 index 0000000..e2c923d --- /dev/null +++ b/machines/container-zohofi.nix @@ -0,0 +1,22 @@ +{ config, lib, pkgs, ... }: +{ + imports = [ + ../config/container.nix + ../config/common.nix + ../config/users.nix + ]; + + networking = { + hostName = lib.mkForce "shape"; + }; + + users.defaultUserShell = lib.mkForce pkgs.bash; + + users.extraUsers.trygve = { + uid = 1100; + home = "/home/trygve"; + description = "Trygve"; + extraGroups = [ ]; + openssh.authorizedKeys.keyFiles = [ ../data/trygve_rsa.pub ]; + }; +} |