mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Use proper home manager setting for home modules
This commit is contained in:
parent
9986d416f8
commit
2558b35636
2 changed files with 14 additions and 16 deletions
26
flake.nix
26
flake.nix
|
@ -160,7 +160,15 @@
|
|||
};
|
||||
|
||||
defaultConfiguration = host: with abstractions; systemConfiguration {
|
||||
nix.package = upkgs.nixSuper;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
environment.defaultPackages = [];
|
||||
|
||||
home-manager.sharedModules = [ ghosttyModule.homeModules.default ];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
networking.hostName = host;
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
|
@ -169,9 +177,11 @@
|
|||
persistent = true;
|
||||
};
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
||||
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
|
||||
nix.package = upkgs.nixSuper;
|
||||
|
||||
nix.registry = {
|
||||
nixpkgs.flake = nixpkgs;
|
||||
|
@ -186,26 +196,16 @@
|
|||
];
|
||||
|
||||
nix.settings.trusted-users = [ "root" "@wheel" ];
|
||||
|
||||
nix.settings.warn-dirty = false;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [ fenix.overlays.default ];
|
||||
|
||||
programs.nix-ld = enabled {};
|
||||
|
||||
environment.defaultPackages = [];
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
networking.hostName = host;
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
};
|
||||
|
||||
specialArgs = abstractions // {
|
||||
inherit upkgs ulib theme ghosttyModule;
|
||||
inherit upkgs ulib theme;
|
||||
};
|
||||
|
||||
importConfigurations = tools.recursiveUpdateMap (host: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue