From bb9f6595ab58cb233a1a86198f1935ebe96c6a56 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 20 Oct 2024 14:02:08 -0500 Subject: add host specific modules for home manager config --- flake.nix | 1 + modules/home/theme.nix | 1 + modules/hosts/T430/home.nix | 3 +++ modules/hosts/T495/home.nix | 12 ++++++++++++ modules/hosts/T495/resources/input-leap/input-leap.conf | 12 ++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 modules/hosts/T430/home.nix create mode 100644 modules/hosts/T495/home.nix create mode 100644 modules/hosts/T495/resources/input-leap/input-leap.conf diff --git a/flake.nix b/flake.nix index 4f5ef64..bdc0487 100644 --- a/flake.nix +++ b/flake.nix @@ -45,6 +45,7 @@ }; sharedModules = [ inputs.arkenfox.hmModules.arkenfox + ./modules/hosts/${hostname}/home.nix ]; }; } diff --git a/modules/home/theme.nix b/modules/home/theme.nix index 57fee52..531adb4 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -2,6 +2,7 @@ options = { theme.mint = { enable = lib.mkEnableOption "enables mint theme"; + # TODO add theme.dark option instead of specifying Dark-Color theme.color = lib.mkOption { type = lib.types.str; default = "Dark-Aqua"; diff --git a/modules/hosts/T430/home.nix b/modules/hosts/T430/home.nix new file mode 100644 index 0000000..a04b93f --- /dev/null +++ b/modules/hosts/T430/home.nix @@ -0,0 +1,3 @@ +{ ... }: { + imports = [ ../../home ]; +} diff --git a/modules/hosts/T495/home.nix b/modules/hosts/T495/home.nix new file mode 100644 index 0000000..cf0c956 --- /dev/null +++ b/modules/hosts/T495/home.nix @@ -0,0 +1,12 @@ +{ ... }: { + imports = [ ../../home ]; + + theme.mint.theme.color = "Dark-Purple"; + theme.mint.icons.color = "Purple"; + + home.file.input-leap-config = { + source = ./resources/input-leap/; + recursive = true; + target = ./config; + } +} diff --git a/modules/hosts/T495/resources/input-leap/input-leap.conf b/modules/hosts/T495/resources/input-leap/input-leap.conf new file mode 100644 index 0000000..c2d5176 --- /dev/null +++ b/modules/hosts/T495/resources/input-leap/input-leap.conf @@ -0,0 +1,12 @@ +section: screens + T495: + optiplex: +end + +section: links + T495: + up = optiplex + + optiplex: + down = T495 +end -- cgit v1.2.3