major home-manager changes

This commit is contained in:
2021-05-02 09:24:02 +05:30
parent da3ef21ccd
commit 70b18cf4fd
33 changed files with 1115 additions and 37 deletions

View File

@@ -29,6 +29,18 @@
homeDirectory = "/home/natto";
username = "natto";
};
root = home-manager.lib.homeManagerConfiguration {
configuration = { pkgs, lib, ... }: {
imports = [ ./home/root.nix ];
nixpkgs = {
overlays = builtins.attrValues self.overlays;
};
};
system = "${system}";
homeDirectory = "/root";
username = "root";
};
};
nixosConfigurations.Satori = nixpkgs.lib.nixosSystem {