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 = {
|
users.extraUsers.astro = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["plugdev" "dialout"];
|
extraGroups = ["plugdev" "dialout"];
|
||||||
|
shell = pkgs.bashInteractive;
|
||||||
};
|
};
|
||||||
users.extraUsers.nix = {
|
users.extraUsers.nix = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
sb = {
|
sb = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
@ -30,6 +32,7 @@
|
|||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJJTSJdpDh82486uPiMhhyhnci4tScp5uUe7156MBC8 a"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGJJTSJdpDh82486uPiMhhyhnci4tScp5uUe7156MBC8 a"
|
||||||
];
|
];
|
||||||
|
shell = pkgs.bashInteractive;
|
||||||
};
|
};
|
||||||
pca006132 = {
|
pca006132 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -114,7 +114,7 @@ in
|
|||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
users.extraGroups.plugdev = { };
|
users.extraGroups.plugdev = { };
|
||||||
users.extraUsers = (import ./common-users.nix);
|
users.extraUsers = import ./common-users.nix { inherit pkgs; };
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
services.udev.packages = [ m-labs.openocd ];
|
services.udev.packages = [ m-labs.openocd ];
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
users.extraGroups.plugdev = { };
|
users.extraGroups.plugdev = { };
|
||||||
users.extraUsers = (import ./common-users.nix);
|
users.extraUsers = import ./common-users.nix { inherit pkgs; };
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ in
|
|||||||
users.extraGroups.plugdev = { };
|
users.extraGroups.plugdev = { };
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
users.extraUsers = (import ./common-users.nix) // {
|
users.extraUsers = (import ./common-users.nix { inherit pkgs; }) // {
|
||||||
nix = {
|
nix = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user