Add nil (nix lsp) to root user for editing /etc/nixos/ more easily

This commit is contained in:
Evie Litherland-Smith 2023-12-12 06:36:06 +00:00
parent fa71df0482
commit 23ea85a688

View file

@ -178,7 +178,10 @@
useUserPackages = true;
users = {
root = {
imports = [ ./home/default.nix ];
imports = [
./home/default.nix
({ pkgs, ... }: { home.packages = with pkgs; [ nil ]; })
];
home = {
inherit stateVersion;
username = "root";