1
0
Fork 0

nixops: set astro's shell to bashInteractive

I hope this is lighter than `programs.zsh.enable = true;`
This commit is contained in:
Astro 2020-06-18 16:17:42 +02:00
parent 0e4d2e3b54
commit 131df3a337
5 changed files with 7 additions and 3 deletions

View File

@ -230,6 +230,7 @@ in
users.extraUsers.astro = {
isNormalUser = true;
extraGroups = ["plugdev" "dialout"];
shell = pkgs.bashInteractive;
};
users.extraUsers.nix = {
isNormalUser = true;

View File

@ -1,3 +1,5 @@
{ pkgs, ... }:
{
sb = {
isNormalUser = true;
@ -30,6 +32,7 @@
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJJTSJdpDh82486uPiMhhyhnci4tScp5uUe7156MBC8 a"
];
shell = pkgs.bashInteractive;
};
pca006132 = {
isNormalUser = true;

View File

@ -114,7 +114,7 @@ in
users.mutableUsers = false;
users.defaultUserShell = pkgs.fish;
users.extraGroups.plugdev = { };
users.extraUsers = (import ./common-users.nix);
users.extraUsers = import ./common-users.nix { inherit pkgs; };
security.sudo.wheelNeedsPassword = false;
services.udev.packages = [ m-labs.openocd ];
services.udev.extraRules = ''

View File

@ -96,7 +96,7 @@
users.mutableUsers = false;
users.defaultUserShell = pkgs.fish;
users.extraGroups.plugdev = { };
users.extraUsers = (import ./common-users.nix);
users.extraUsers = import ./common-users.nix { inherit pkgs; };
security.sudo.wheelNeedsPassword = false;

View File

@ -42,7 +42,7 @@ in
users.extraGroups.plugdev = { };
users.mutableUsers = false;
users.defaultUserShell = pkgs.fish;
users.extraUsers = (import ./common-users.nix) // {
users.extraUsers = (import ./common-users.nix { inherit pkgs; }) // {
nix = {
isNormalUser = true;
};