migrated home-manager from a nixos module to a standalone thing
This commit is contained in:
parent
9c2e1ea464
commit
8aa1d65d73
11 changed files with 25 additions and 27 deletions
20
flake.nix
20
flake.nix
|
|
@ -57,8 +57,6 @@
|
|||
modules = [
|
||||
./hosts/desktops/rotterdam.nix
|
||||
agenix.nixosModules.default
|
||||
kmonad.nixosModules.default
|
||||
home-manager.nixosModules.default
|
||||
{
|
||||
nixpkgs.overlays =
|
||||
[ baduhai-nur.overlay agenix.overlays.default ];
|
||||
|
|
@ -99,6 +97,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
server = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./users/servers/user.nix
|
||||
];
|
||||
};
|
||||
|
||||
desktop = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./users/desktops/user.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
deploy = {
|
||||
autoRollback = false;
|
||||
magicRollback = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue