forked from M-Labs/nix-scripts
nixops: set astro's shell to bashInteractive
I hope this is lighter than `programs.zsh.enable = true;`
This commit is contained in:
parent
0e4d2e3b54
commit
131df3a337
|
@ -230,6 +230,7 @@ in
|
|||
users.extraUsers.astro = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["plugdev" "dialout"];
|
||||
shell = pkgs.bashInteractive;
|
||||
};
|
||||
users.extraUsers.nix = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue