change home-manager settings

This commit is contained in:
Dmitriy Kholkin 2021-11-05 21:45:11 +03:00
parent bcbfa31622
commit c2909bd755
2 changed files with 16 additions and 9 deletions

View File

@ -79,12 +79,16 @@ with lib; {
android_sdk.accept_license = true;
};
home-manager.users.alukard = {
nixpkgs.config = {
allowUnfree = true;
};
xdg.configFile."nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
};
# home-manager.users.alukard = {
# nixpkgs.config = {
# allowUnfree = true;
# android_sdk.accept_license = true;
# };
# xdg.configFile."nixpkgs/config.nix".text = ''
# {
# allowUnfree = true;
# android_sdk.accept_license = true;
# }
# '';
# };
}

View File

@ -1,6 +1,9 @@
{ inputs, ... }: {
imports = with inputs.self.nixosModules; with inputs.self.nixosProfiles; [
inputs.home-manager.nixosModules.home-manager
inputs.home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
applications
# auto-run