added home manager

This commit is contained in:
Emile Clark-Boman 2024-10-30 19:45:26 +10:00
parent 045f346d3c
commit 48fb5e798c
7 changed files with 203 additions and 175 deletions

View file

@ -9,6 +9,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# is this necessary? (aren't I enabling it in `configuration.nix` anyways?)
hyprland.url = "github:hyprwm/Hyprland";
};
@ -38,28 +39,34 @@
nixosConfigurations = {
# i be on my puter fr
myputer = nixpkgs.lib.nixosSystem {
# nix passes these to every single module above
specialArgs = {
inherit inputs;
};
modules = [
./hosts/myputer
#home-manager.nixosModules.default
];
specialArgs = {
inherit inputs system; # inherit inputs outputs;
};
};
# my laptop 0w0
#lolcathost = nixpkgs.lib.nixosSystem {
# modules = [
# ./hosts/lolcathost
# ];
# specialArgs = {
# inherit system; # inherit inputs outputs;
# };
#};
lolcathost = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
};
modules = [
./hosts/lolcathost
];
};
};
homeConfigurations = {
me = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
specialArgs = {
inherit inputs;
};
modules = [
./home/me