pushed boxuser call up to default
This commit is contained in:
@@ -13,6 +13,14 @@
|
|||||||
../../modules/common/networking.nix
|
../../modules/common/networking.nix
|
||||||
../../modules/common/shell.nix
|
../../modules/common/shell.nix
|
||||||
];
|
];
|
||||||
|
users.users.boxuser = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable ‘sudo’ for the user.
|
||||||
|
password = "boxuser";
|
||||||
|
packages = with pkgs; [
|
||||||
|
fastfetch
|
||||||
|
];
|
||||||
|
};
|
||||||
networking.hostName = "box";
|
networking.hostName = "box";
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
# This will be overridden by system/default.nix
|
# This will be overridden by system/default.nix
|
||||||
|
|||||||
@@ -9,15 +9,6 @@
|
|||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
users.users.boxuser = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable ‘sudo’ for the user.
|
|
||||||
password = "boxuser";
|
|
||||||
packages = with pkgs; [
|
|
||||||
fastfetch
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
security.sudo = {
|
security.sudo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wheelNeedsPassword = false;
|
wheelNeedsPassword = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user