Commit 9b0c025

HPCesia <me@hpcesia.com>
2025-10-07 09:27:21
feat: delete unused home config
1 parent 70b8ce6
home/base/core/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
-  imports = mylib.scanModules ./.;
-}
home/base/gui/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
-  imports = mylib.scanModules ./.;
-}
home/base/tui/accounts/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
-  imports = mylib.scanModules ./.;
-}
home/base/tui/accounts/email.nix
@@ -1,48 +0,0 @@
-{
-  pkgs,
-  myvars,
-  ...
-}: let
-  # forwardEmailSettings = {
-  #   imap = {
-  #     host = "imap.forwardemail.net";
-  #     port = 993;
-  #     tls.enable = true;
-  #   };
-  #   smtp = {
-  #     host = "smtp.forwardemail.net";
-  #     port = 465;
-  #   };
-  # };
-  mxrouteEmailSettings = {
-    imap = {
-      host = "glacier.mxrouting.net";
-      port = 993;
-      tls.enable = true;
-    };
-    smtp = {
-      host = "glacier.mxrouting.net";
-      port = 465;
-    };
-  };
-
-  outlookSettings = {flavor = "outlook.office365.com";};
-in {
-  accounts.email.accounts = {
-    "${myvars.useremail}" =
-      mxrouteEmailSettings
-      // {
-        realName = myvars.userfullname;
-        userName = myvars.useremail;
-        address = myvars.useremail;
-        primary = true;
-      };
-    "hpcesia@outlook.com" =
-      outlookSettings
-      // {
-        realName = myvars.userfullname;
-        userName = "hpcesia@outlook.com";
-        address = "hpcesia@outlook.com";
-      };
-  };
-}
home/base/tui/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
-  imports = mylib.scanModules ./.;
-}
home/base/tui/encryption.nix
@@ -1,6 +0,0 @@
-{pkgs, ...}: {
-  home.packages = with pkgs; [
-    age
-    sops
-  ];
-}
home/base/tui/github.nix
@@ -1,17 +0,0 @@
-{pkgs, ...}: {
-  programs.gh = {
-    enable = true;
-    settings = {
-      git_protocol = "ssh";
-      prompt = "enabled";
-    };
-    hosts = {
-      "github.com" = {
-        user = "HPCesia";
-      };
-    };
-    extensions = with pkgs; [
-      gh-copilot
-    ];
-  };
-}
home/base/tui/misc.nix
@@ -1,15 +0,0 @@
-{
-  pkgs,
-  colmena,
-  ...
-}: {
-  home.packages = with pkgs; [
-    # Database
-    mycli
-    pgcli
-    sqlite
-
-    colmena.packages.${system}.colmena # nixos's remote deployment tool
-    nix-prefetch
-  ];
-}
home/base/home.nix
@@ -1,2 +0,0 @@
-{
-}
home/linux/base/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
-  imports = mylib.scanModules ./.;
-}
home/linux/base/shell.nix
@@ -1,19 +0,0 @@
-{config, ...}: let
-  d = config.xdg.dataHome;
-  c = config.xdg.configHome;
-  cache = config.xdg.cacheHome;
-in {
-  # environment variables that always set at login
-  home.sessionVariables = {
-    # clean up ~
-    LESSHISTFILE = cache + "/less/history";
-    LESSKEY = c + "/less/lesskey";
-    WINEPREFIX = d + "/wine";
-
-    # set default applications
-    BROWSER = "firefox";
-
-    # enable scrolling in git diff
-    DELTA_PAGER = "less -R";
-  };
-}
home/linux/core.nix
@@ -1,8 +0,0 @@
-{
-  imports = [
-    ../base/core
-    ../base/home.nix
-
-    ./base
-  ];
-}
home/linux/gui.nix
@@ -1,10 +0,0 @@
-{
-  imports = [
-    ../base/core
-    ../base/tui
-    ../base/gui
-    ../base/home.nix
-
-    ./base
-  ];
-}
home/linux/tui.nix
@@ -1,9 +0,0 @@
-{
-  imports = [
-    ../base/core
-    ../base/tui
-    ../base/home.nix
-
-    ./base
-  ];
-}
modules/hosts/chaser-kevin/default.nix
@@ -41,12 +41,7 @@
                 dev
                 user-hpcesia
               ])
-              ++ [config.flake.modules.homeManager."hosts/kevin"]
-              # TODO: remove below after migrated all config to Dendritic Pattern
-              ++ (map (lib.path.append config.flake.meta.rootPath) [
-                "home/linux/gui.nix"
-                "options/home/default.nix"
-              ]);
+              ++ [config.flake.modules.homeManager."hosts/kevin"];
           };
         }
       ]