summaryrefslogtreecommitdiff
path: root/hosts/atlas/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/atlas/default.nix')
-rw-r--r--hosts/atlas/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix
index 220592d..cf17462 100644
--- a/hosts/atlas/default.nix
+++ b/hosts/atlas/default.nix
@@ -5,6 +5,7 @@
}: {
imports = [
./hardware-configuration.nix
+ ./cachix.nix
./miniflux.nix
./nginx.nix
./prometheus.nix
@@ -24,11 +25,18 @@
loader.efi.canTouchEfiVariables = true;
};
+ getchoo.server = {
+ secrets.enable = true;
+ services.loki.enable = true;
+ };
+
networking = {
domain = "mydadleft.me";
hostName = "atlas";
};
+ nix.settings.trusted-users = ["bob"];
+
system.stateVersion = "22.11";
users.users = let
@@ -44,6 +52,14 @@
passwordFile = config.age.secrets.userPassword.path;
inherit openssh;
};
+ bob = {
+ isNormalUser = true;
+ shell = pkgs.bash;
+ openssh.authorizedKeys.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOtbxHjDADxqsG+AgCoiDq0uCsgcnJCIH+9rB6K5pIi9 p-body@p-body"
+ "ssh-ed25519 aaaac3nzac1lzdi1nte5aaaaimpv9widwxvyovh347caulkdgzg7+1m/rz1av5fk3bhm atlas [email protected]"
+ ];
+ };
};
zramSwap.enable = true;