diff options
author | Tim Keller <tjkeller.xyz> | 2024-10-20 14:02:08 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-10-20 14:02:08 -0500 |
commit | bb9f6595ab58cb233a1a86198f1935ebe96c6a56 (patch) | |
tree | 267e88184aa1f7e67edd26f455c8d0da97447f94 | |
parent | cdc3f0f85ae755baf4825f0ae6c7853c58fd4dcf (diff) | |
download | nixos-bb9f6595ab58cb233a1a86198f1935ebe96c6a56.tar.xz nixos-bb9f6595ab58cb233a1a86198f1935ebe96c6a56.zip |
add host specific modules for home manager config
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | modules/home/theme.nix | 1 | ||||
-rw-r--r-- | modules/hosts/T430/home.nix | 3 | ||||
-rw-r--r-- | modules/hosts/T495/home.nix | 12 | ||||
-rw-r--r-- | modules/hosts/T495/resources/input-leap/input-leap.conf | 12 |
5 files changed, 29 insertions, 0 deletions
@@ -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 |