From 3f4ffdbbd694a14e6ada58740e6596f475ce00fb Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 25 Jul 2023 19:01:53 +0900 Subject: feat(home): move user configs to configs --- home/alpha/sefidel.nix | 12 ------------ home/configs/alpha/sefidel.nix | 12 ++++++++++++ home/configs/kompakt-darwin/sefidel.nix | 9 +++++++++ home/configs/kompakt/sefidel.nix | 12 ++++++++++++ home/kompakt-darwin/sefidel.nix | 9 --------- home/kompakt/sefidel.nix | 12 ------------ lib/mk_home.nix | 2 +- 7 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 home/alpha/sefidel.nix create mode 100644 home/configs/alpha/sefidel.nix create mode 100644 home/configs/kompakt-darwin/sefidel.nix create mode 100644 home/configs/kompakt/sefidel.nix delete mode 100644 home/kompakt-darwin/sefidel.nix delete mode 100644 home/kompakt/sefidel.nix diff --git a/home/alpha/sefidel.nix b/home/alpha/sefidel.nix deleted file mode 100644 index 476a463..0000000 --- a/home/alpha/sefidel.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: - -{ - config = { - activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; - - programs.htop.settings.detailed_cpu_time = true; - - sops.defaultSopsFile = ../secrets/secrets.yaml; - sops.gnupg.home = "/home/sefidel/.gnupg"; - }; -} diff --git a/home/configs/alpha/sefidel.nix b/home/configs/alpha/sefidel.nix new file mode 100644 index 0000000..5e4f561 --- /dev/null +++ b/home/configs/alpha/sefidel.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + config = { + activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; + + programs.htop.settings.detailed_cpu_time = true; + + sops.defaultSopsFile = ../../secrets/secrets.yaml; + sops.gnupg.home = "/home/sefidel/.gnupg"; + }; +} diff --git a/home/configs/kompakt-darwin/sefidel.nix b/home/configs/kompakt-darwin/sefidel.nix new file mode 100644 index 0000000..5d0a4c4 --- /dev/null +++ b/home/configs/kompakt-darwin/sefidel.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + config = { + activeProfiles = [ "base" "development" "research" "fonts" ]; + + programs.htop.settings.detailed_cpu_time = true; + }; +} diff --git a/home/configs/kompakt/sefidel.nix b/home/configs/kompakt/sefidel.nix new file mode 100644 index 0000000..5e4f561 --- /dev/null +++ b/home/configs/kompakt/sefidel.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + config = { + activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; + + programs.htop.settings.detailed_cpu_time = true; + + sops.defaultSopsFile = ../../secrets/secrets.yaml; + sops.gnupg.home = "/home/sefidel/.gnupg"; + }; +} diff --git a/home/kompakt-darwin/sefidel.nix b/home/kompakt-darwin/sefidel.nix deleted file mode 100644 index 5d0a4c4..0000000 --- a/home/kompakt-darwin/sefidel.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: - -{ - config = { - activeProfiles = [ "base" "development" "research" "fonts" ]; - - programs.htop.settings.detailed_cpu_time = true; - }; -} diff --git a/home/kompakt/sefidel.nix b/home/kompakt/sefidel.nix deleted file mode 100644 index 476a463..0000000 --- a/home/kompakt/sefidel.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: - -{ - config = { - activeProfiles = [ "base" "gui" "browsing" "development" "communication" "multimedia" "research" ]; - - programs.htop.settings.detailed_cpu_time = true; - - sops.defaultSopsFile = ../secrets/secrets.yaml; - sops.gnupg.home = "/home/sefidel/.gnupg"; - }; -} diff --git a/lib/mk_home.nix b/lib/mk_home.nix index 550cc69..899be0f 100644 --- a/lib/mk_home.nix +++ b/lib/mk_home.nix @@ -2,7 +2,7 @@ { username, hostname, pkgs, version, extraModules ? null }: let - entrypoint = "${self}/home/${hostname}/${username}.nix"; + entrypoint = "${self}/home/configs/${hostname}/${username}.nix"; defaultModule = { lib, config, ... }: { _module.args.inputs = self.inputs; _module.args.self = self; -- cgit 1.4.1