mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-06-15 09:09:14 +02:00
user/vegardbm: change shell to zsh and add ssh key
This commit is contained in:
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
users.users.vegardbm = {
|
users.users.vegardbm = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@@ -8,12 +8,14 @@
|
|||||||
"drift"
|
"drift"
|
||||||
"nix-builder-users"
|
"nix-builder-users"
|
||||||
];
|
];
|
||||||
|
shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
btop
|
btop
|
||||||
eza
|
eza
|
||||||
];
|
];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDVA3HqEx3je6L1AC+bP8sTxu3ZTKvTCR0npCyOVAYK5 vbm@arch-xeon"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDVA3HqEx3je6L1AC+bP8sTxu3ZTKvTCR0npCyOVAYK5 vbm@arch-xeon"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICrYATHNvBNAHr9G+VwZIaAQPe02iRgAjqtZkW4x/dje vbm@talos"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user