diff options
author | Ben Sima <ben@bsima.me> | 2019-05-13 18:59:06 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-13 18:59:06 -0700 |
commit | 2afbdbee1db02d510ebf3c5ca51abfbf3bf02a50 (patch) | |
tree | 1d12e8f6f738645a5bff0980338740d83ad0524b /depo/hidor-kahih/default.nix | |
parent | bd4e4dfefd73ed578be8bdac3b1fda6f21482979 (diff) |
move lithium to biz as hidor-kahih
Diffstat (limited to 'depo/hidor-kahih/default.nix')
-rw-r--r-- | depo/hidor-kahih/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/depo/hidor-kahih/default.nix b/depo/hidor-kahih/default.nix new file mode 100644 index 0000000..606ce29 --- /dev/null +++ b/depo/hidor-kahih/default.nix @@ -0,0 +1,25 @@ +/* + +hidor-kahih - main development/build server + +*/ + +let + nixpkgs = builtins.fetchTarball (import ../../pack/nixpkgs.nix); +in +import "${nixpkgs}/nixos" { + system = "x86_64-linux"; + configuration = { + nixpkgs.overlays = [ + (import ../../pack/overlay.nix) + ]; + + imports = + [ ./hardware.nix + ../users.nix + ./configuration.nix + ]; + + users.users.root.openssh.authorizedKeys.keys = [(builtins.readFile ../../keys/ben.pub)]; + }; +} |