aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/copenhagen/configuration.nix17
-rw-r--r--hosts/copenhagen/home/c.nix18
-rw-r--r--snowfall/systems/x86_64-linux/copenhagen/default.nix16
3 files changed, 15 insertions, 36 deletions
diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix
deleted file mode 100644
index f8fc2f6..0000000
--- a/hosts/copenhagen/configuration.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ config, lib, pkgs, inputs, ... }:
-
-{
- users.users = {
- root.hashedPasswordFile = "/secrets/passwords/root";
-
- "c" = {
- isNormalUser = true;
- hashedPasswordFile = "/secrets/passwords/c";
- extraGroups = [ "wheel" "minecraft" ];
- openssh.authorizedKeys.keys = [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDO8JxqS7B2n3YlNtlVMZGARi+GG/z7wLiiyl52qSZc caroline@larimo.re" # c-pc
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICGftQ5W8QMIVhgDijreliiMgIqwQvxwTkpMftJdQWu+ caroline@larimo.re" # phoenix
- ];
- };
- };
-}
diff --git a/hosts/copenhagen/home/c.nix b/hosts/copenhagen/home/c.nix
deleted file mode 100644
index 3420731..0000000
--- a/hosts/copenhagen/home/c.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ config, lib, pkgs, inputs, ...}:
-
-{
- imports = [
- inputs.impermanence.nixosModules.home-manager.impermanence
-
- ../../../roles/home
- ];
-
- home.roles = {
- dev = {
- enable = true;
- key = "DE64538967CA0C68";
- };
- };
-
- home.stateVersion = "23.11";
-}
diff --git a/snowfall/systems/x86_64-linux/copenhagen/default.nix b/snowfall/systems/x86_64-linux/copenhagen/default.nix
index e7f7a35..e893f43 100644
--- a/snowfall/systems/x86_64-linux/copenhagen/default.nix
+++ b/snowfall/systems/x86_64-linux/copenhagen/default.nix
@@ -51,11 +51,25 @@ with lib; with lib.${namespace}; {
snowfallorg.users."c" = {
admin = true;
+
+ config = {
+ cxl.tools.git.key = "DE64538967CA0C68";
+ };
};
users.users = {
root.hashedPasswordFile = "/secrets/passwords/root";
- "c".hashedPasswordFile = "/secrets/passwords/c";
+
+ "c" = {
+ hashedPasswordFile = "/secrets/passwords/c";
+
+ openssh.authorizedKeys.keys = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDO8JxqS7B2n3YlNtlVMZGARi+GG/z7wLiiyl52qSZc caroline@larimo.re" # c-pc
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICGftQ5W8QMIVhgDijreliiMgIqwQvxwTkpMftJdQWu+ caroline@larimo.re" # phoenix
+ ];
+
+ extraGroups = [ "minecraft" ];
+ };
};
system.stateVersion = "23.11";