mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
config: move home-manager-specific config to hostSpecificModule
This commit is contained in:
parent
5173add1f6
commit
fa65ce548a
10
flake.nix
10
flake.nix
@ -183,11 +183,6 @@
|
|||||||
# have to go with it.
|
# have to go with it.
|
||||||
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||||
|
|
||||||
# The global configuration for the home-manager module.
|
|
||||||
home-manager.useUserPackages = lib.mkDefault true;
|
|
||||||
home-manager.useGlobalPkgs = lib.mkDefault true;
|
|
||||||
home-manager.sharedModules = [ userSharedConfig ];
|
|
||||||
|
|
||||||
# Enabling some things for sops.
|
# Enabling some things for sops.
|
||||||
programs.gnupg.agent = lib.mkDefault {
|
programs.gnupg.agent = lib.mkDefault {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -329,6 +324,11 @@
|
|||||||
{
|
{
|
||||||
networking.hostName = lib.mkForce metadata.hostname or host;
|
networking.hostName = lib.mkForce metadata.hostname or host;
|
||||||
nixpkgs.hostPlatform = metadata._system;
|
nixpkgs.hostPlatform = metadata._system;
|
||||||
|
|
||||||
|
# The global configuration for the home-manager module.
|
||||||
|
home-manager.useUserPackages = lib.mkDefault true;
|
||||||
|
home-manager.useGlobalPkgs = lib.mkDefault true;
|
||||||
|
home-manager.sharedModules = [ userSharedConfig ];
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.mkIf (metadata ? domain)
|
(lib.mkIf (metadata ? domain)
|
||||||
|
Loading…
Reference in New Issue
Block a user