add root user

This commit is contained in:
iFargle 2023-08-23 19:24:47 +09:00
parent 6fd4db236b
commit 470ffb0d54
3 changed files with 8 additions and 6 deletions

View file

@ -24,7 +24,10 @@
}; };
homeConfigurations = { homeConfigurations = {
"albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; }; "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; };
"root@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "root"; desktop = "gnome"; };
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; };
"root@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; username = "root"; desktop = "gnome"; };
}; };
}; };
} }

View file

@ -1,6 +1,6 @@
{ config, pkgs, hostname, username, desktop, hmStateVersion, ... }: { { config, pkgs, hostname, username, desktop, hmStateVersion, ... }: {
imports = [ imports = [
# Common app configs # Common app configs - Will apply to all users managed by home-manager
./common/software/cli/bash.nix ./common/software/cli/bash.nix
./common/software/cli/btop.nix ./common/software/cli/btop.nix
./common/software/cli/git.nix ./common/software/cli/git.nix

View file

@ -8,7 +8,7 @@
./common/services/tailscale.nix ./common/services/tailscale.nix
./common/services/fwupd.nix ./common/services/fwupd.nix
# Modules # NixOS Modules
./common/modules/fonts.nix # Font Configs ./common/modules/fonts.nix # Font Configs
./common/modules/networking.nix # Initial Networking configs ./common/modules/networking.nix # Initial Networking configs
./common/modules/nixos.nix # NixOS related items ./common/modules/nixos.nix # NixOS related items
@ -36,7 +36,6 @@
iftop iftop
nload nload
iotop iotop
NetworkManager
]; ];
# Select internationalisation properties. # Select internationalisation properties.