From c828969fe4b90e157437183d820116b6559ccfaa Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 25 Jan 2022 23:19:42 +0900 Subject: home: don't enable base automatically --- home/alpha/boopy.nix | 2 +- home/profiles/base/default.nix | 2 +- 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; -- cgit 1.4.1