misc improvements to modularity

This commit is contained in:
greyweather committed 2026-09-02 15:50:37 +01:00
1 parent 9c13923c2e
commit 6d8673ea1e
29 files changed
+111 -108

No files matched your search

+6 -7
View File
@@ -53,8 +53,6 @@
extraGroups = [ "networkmanager" "wheel" ];
};
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
git
fzf
@@ -84,12 +82,13 @@
powerOnBoot = false;
};
home-manager.users.grey = lib.mkIf (config.features.nixos.home-manager.enable) {
nixpkgs.config.allowUnfree = true;
home-manager.users.${config.info.userName} = lib.mkIf (config.features.nixos.home-manager.enable) {
info = {
rootPath = lib.mkDefault config.info.rootPath;
hostName = lib.mkDefault config.info.hostName;
stateVersion = lib.mkDefault config.info.stateVersion;
isStandalone = lib.mkDefault false;
inherit (config.info) rootPath userName hostName stateVersion;
hostPlatform = config.nixpkgs.hostPlatform.system;
isStandalone = false;
};
};