feat(aspen/system): Switch linux user login to aspen

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>
This commit is contained in:
Aspen Smith 2024-03-31 14:11:01 -04:00 committed by clbot
parent 55ab8b1e6a
commit 1cebb775f1
17 changed files with 30 additions and 30 deletions

View file

@ -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;
};

View file

@ -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;
};

View file

@ -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
];

View file

@ -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 = {

View file

@ -10,7 +10,7 @@
programs.nm-applet.enable = true;
users.users.grfn.extraGroups = [
users.users.aspen.extraGroups = [
"audio"
"video"
];

View file

@ -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";

View file

@ -5,5 +5,5 @@
enable = true;
package = pkgs.wireshark;
};
users.users.grfn.extraGroups = [ "wireshark" ];
users.users.aspen.extraGroups = [ "wireshark" ];
}