diff options
author | sefidel <contact@sefidel.net> | 2022-01-25 23:19:42 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-25 23:19:42 +0900 |
commit | c828969fe4b90e157437183d820116b6559ccfaa (patch) | |
tree | f511de97808beedc00f65383ee02fdd81e1b9258 | |
parent | 6e07d7319c104b23588f6e4f9373cd42dbb73c82 (diff) | |
download | nixrc-c828969fe4b90e157437183d820116b6559ccfaa.tar.gz nixrc-c828969fe4b90e157437183d820116b6559ccfaa.zip |
home: don't enable base automatically
-rw-r--r-- | home/alpha/boopy.nix | 2 | ||||
-rw-r--r-- | home/profiles/base/default.nix | 2 | ||||
-rw-r--r-- | lib/mk_home.nix | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/home/alpha/boopy.nix b/home/alpha/boopy.nix index d301409..126ac6b 100644 --- a/home/alpha/boopy.nix +++ b/home/alpha/boopy.nix @@ -2,7 +2,7 @@ { config = { - activeProfiles = [ "browsing" "development" "messaging" "multimedia" "research" ]; + activeProfiles = [ "base" "browsing" "development" "messaging" "multimedia" "research" ]; programs.htop.settings.detailed_cpu_time = true; }; diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index f1b00ec..eade27c 100644 --- a/home/profiles/base/default.nix +++ b/home/profiles/base/default.nix @@ -15,7 +15,7 @@ in ]; options.profiles.base.enable = lib.mkEnableOption - "The base profile, should be always enabled"; + "The base profile, contains general configurations."; config = lib.mkIf cfg.enable { home.sessionVariables = rec { diff --git a/lib/mk_home.nix b/lib/mk_home.nix index ba1a657..6682d78 100644 --- a/lib/mk_home.nix +++ b/lib/mk_home.nix @@ -1,6 +1,6 @@ { self, home-manager, ... } @ inputs: -{ username, hostname, system ? "x86_64-linux", pkgs, version, extraModules }: +{ username, hostname, system ? "x86_64-linux", pkgs, version, extraModules ? null }: let entrypoint = "${self}/home/${hostname}/${username}.nix"; in @@ -14,8 +14,6 @@ home-manager.lib.homeManagerConfiguration { _module.args.inputs = self.inputs; _module.args.self = self; - profiles.base.enable = true; - manual = { html.enable = false; manpages.enable = false; |