misc improvements to modularity
This commit is contained in:
29 files changed
+111
-108
No files matched your search
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user