From 734194e50dbcc553334e2857ebab144c8c60e975 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 20 May 2017 16:59:39 -0400 Subject: zohofi: Add config --- machines/container-zohofi.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 machines/container-zohofi.nix (limited to 'machines') 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 ]; + }; +} -- cgit v1.2.3