Add nil (nix lsp) to root user for editing /etc/nixos/ more easily
This commit is contained in:
parent
fa71df0482
commit
23ea85a688
|
@ -178,7 +178,10 @@
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users = {
|
users = {
|
||||||
root = {
|
root = {
|
||||||
imports = [ ./home/default.nix ];
|
imports = [
|
||||||
|
./home/default.nix
|
||||||
|
({ pkgs, ... }: { home.packages = with pkgs; [ nil ]; })
|
||||||
|
];
|
||||||
home = {
|
home = {
|
||||||
inherit stateVersion;
|
inherit stateVersion;
|
||||||
username = "root";
|
username = "root";
|
||||||
|
|
Loading…
Reference in a new issue