switched to using home-manager as a standalone app to ensure that config will transfer

This commit is contained in:
Gabriella Bere 2024-08-26 03:13:48 +01:00
parent 2578538507
commit 4f2782c0dc
5 changed files with 11 additions and 7 deletions

View file

@ -24,6 +24,7 @@
outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs:
let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
stable = stablepkgs.legacyPacakges.${system};
@ -37,12 +38,14 @@
./hosts/gabbielaptop/configuration.nix
./modules/nh.nix
./modules/waydroid.nix
inputs.home-manager.nixosModules.default
# inputs.home-manager.nixosModules.default
];
};
# Standalone home-manager config
homeConfigurations.blue = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = { inherit inputs outputs; };
# Import home-manager modules here
modules = [
./home-manager/home.nix