fix: try breaking it out different
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
{config, pkgs, lib, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
|
||||||
|
lib.mkIf ( profile == "work" ) {
|
||||||
|
home-manager.users.emmathorpe.imports = [ ./home.nix ../system/modules/work/default.nix ];
|
||||||
|
};
|
||||||
|
lib.mkIf ( profile == "home" ) {
|
||||||
|
home-manager.users.emmathorpe.imports = [ ./home.nix ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -35,23 +35,18 @@
|
|||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
|
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
|
||||||
home-manager.users.emmathorpe = import ./system/modules/work/default.nix;
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixosConfigurations.emmathorpe-edaas = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.emmathorpe-edaas = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
|
let profile = "work";
|
||||||
modules = [
|
modules = [
|
||||||
./system/machine/EDaaS/configuration.nix
|
./system/machine/EDaaS/configuration.nix
|
||||||
./emmathorpe/user.nix
|
./emmathorpe/user.nix
|
||||||
./emmathorpe/swaywm.nix
|
./emmathorpe/swaywm.nix
|
||||||
home-manager.nixosModules.home-manager
|
./emmathorpe/home-manager-module.nix
|
||||||
{
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user