forked from princeton-sns/cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsns26.nix
38 lines (30 loc) · 848 Bytes
/
sns26.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ config, pkgs, ... }:
let
hostname = "sns26";
common = (import ./common.nix) { hostname = hostname; };
utils = import ../utils;
in {
# Import common configurat for all machines (locale, SSHd, updates...)
imports = [ common ];
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
git
];
programs.mosh.enable = true;
networking.firewall.allowedTCPPorts = [
# Frida server
8000
];
virtualisation.docker.enable = true;
users.users.npopescu = {
isNormalUser = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = utils.githubSSHKeys "nataliepopescu";
};
users.users.leons = {
isNormalUser = true;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = utils.githubSSHKeys "lschuermann";
};
}