diff options
author | Aspen Smith <root@gws.fyi> | 2024-03-31T18·11-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-31T18·33+0000 |
commit | 1cebb775f1b8a5ca9d149c23df453a5f56f95fb8 (patch) | |
tree | d55dcce9ce4bcf0e7fe8fdc846e3c5a2fca6b9bc /users/aspen/system/system | |
parent | 55ab8b1e6a0d6fad331cc7b6c748ff30a856c385 (diff) |
feat(aspen/system): Switch linux user login to aspen r/7813
Change-Id: I10369a20db3f1be92caf0bace94e8beb6af1dbaa Reviewed-on: https://cl.tvl.fyi/c/depot/+/11302 Tested-by: BuildkiteCI Autosubmit: aspen <root@gws.fyi> Reviewed-by: aspen <root@gws.fyi>
Diffstat (limited to 'users/aspen/system/system')
-rw-r--r-- | users/aspen/system/system/default.nix | 2 | ||||
-rw-r--r-- | users/aspen/system/system/iso.nix | 2 | ||||
-rw-r--r-- | users/aspen/system/system/machines/mugwump.nix | 2 | ||||
-rw-r--r-- | users/aspen/system/system/modules/common.nix | 6 | ||||
-rw-r--r-- | users/aspen/system/system/modules/desktop.nix | 2 | ||||
-rw-r--r-- | users/aspen/system/system/modules/development.nix | 4 | ||||
-rw-r--r-- | users/aspen/system/system/modules/wireshark.nix | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/users/aspen/system/system/default.nix b/users/aspen/system/system/default.nix index ec3a002051e8..f0f3051e9d91 100644 --- a/users/aspen/system/system/default.nix +++ b/users/aspen/system/system/default.nix @@ -16,7 +16,7 @@ rec { # Use the same nixpkgs as everything else home-manager.useGlobalPkgs = true; - home-manager.users.grfn = { config, lib, ... }: { + home-manager.users.aspen = { config, lib, ... }: { imports = [ ../home/machines/roswell.nix ]; lib.depot = depot; }; diff --git a/users/aspen/system/system/iso.nix b/users/aspen/system/system/iso.nix index 398145f1cfab..ef5d3ed78bb0 100644 --- a/users/aspen/system/system/iso.nix +++ b/users/aspen/system/system/iso.nix @@ -12,7 +12,7 @@ let networking.firewall.enable = false; networking.wireless.enable = lib.mkForce false; - # TODO(grfn): enabling this (in the minimal profile) fails the iso build, + # TODO(aspen): enabling this (in the minimal profile) fails the iso build, # since gtk+3 needs to be built which fails due to cairo without xlibs environment.noXlibs = false; }; diff --git a/users/aspen/system/system/machines/mugwump.nix b/users/aspen/system/system/machines/mugwump.nix index 446f7cd92d00..4cfa11713495 100644 --- a/users/aspen/system/system/machines/mugwump.nix +++ b/users/aspen/system/system/machines/mugwump.nix @@ -73,7 +73,7 @@ with lib; nix.gc.dates = "monthly"; - users.users.grfn.openssh.authorizedKeys.keys = [ + users.users.aspen.openssh.authorizedKeys.keys = [ depot.users.aspen.keys.whitby ]; diff --git a/users/aspen/system/system/modules/common.nix b/users/aspen/system/system/modules/common.nix index 17140317f5b3..3eaeb2efc614 100644 --- a/users/aspen/system/system/modules/common.nix +++ b/users/aspen/system/system/modules/common.nix @@ -49,7 +49,7 @@ with lib; settings = { X11Forwarding = true; }; }; - users.users.grfn.openssh.authorizedKeys.keys = + users.users.aspen.openssh.authorizedKeys.keys = [ depot.users.aspen.keys.main ]; programs.ssh.startAgent = true; @@ -59,7 +59,7 @@ with lib; users.mutableUsers = true; programs.zsh.enable = true; environment.pathsToLink = [ "/share/zsh" ]; - users.users.grfn = { + users.users.aspen = { isNormalUser = true; initialPassword = "password"; extraGroups = [ @@ -71,7 +71,7 @@ with lib; }; nix = { - settings.trusted-users = [ "grfn" ]; + settings.trusted-users = [ "aspen" ]; distributedBuilds = true; gc = { diff --git a/users/aspen/system/system/modules/desktop.nix b/users/aspen/system/system/modules/desktop.nix index 3adbd9d9b07f..9a5fc825e1ef 100644 --- a/users/aspen/system/system/modules/desktop.nix +++ b/users/aspen/system/system/modules/desktop.nix @@ -10,7 +10,7 @@ programs.nm-applet.enable = true; - users.users.grfn.extraGroups = [ + users.users.aspen.extraGroups = [ "audio" "video" ]; diff --git a/users/aspen/system/system/modules/development.nix b/users/aspen/system/system/modules/development.nix index d17e9d424c28..bd5e326b2ea6 100644 --- a/users/aspen/system/system/modules/development.nix +++ b/users/aspen/system/system/modules/development.nix @@ -2,11 +2,11 @@ { virtualisation.docker.enable = true; - users.users.grfn.extraGroups = [ "docker" ]; + users.users.aspen.extraGroups = [ "docker" ]; security.pam.loginLimits = [ { - domain = "grfn"; + domain = "aspen"; type = "soft"; item = "nofile"; value = "65535"; diff --git a/users/aspen/system/system/modules/wireshark.nix b/users/aspen/system/system/modules/wireshark.nix index 30658419fc93..b233d4004160 100644 --- a/users/aspen/system/system/modules/wireshark.nix +++ b/users/aspen/system/system/modules/wireshark.nix @@ -5,5 +5,5 @@ enable = true; package = pkgs.wireshark; }; - users.users.grfn.extraGroups = [ "wireshark" ]; + users.users.aspen.extraGroups = [ "wireshark" ]; } |