diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-04-06 14:49:29 -0500 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-04-06 14:49:29 -0500 |
| commit | f2903b6e6450fe5d9526196920835e8006ca03fd (patch) | |
| tree | 272781f01154b90c77b21390c7ec28a499b3c011 /modules/hosts | |
| parent | dd42457fd66328d1ac850498bba865c721db6075 (diff) | |
dragotha start
Diffstat (limited to 'modules/hosts')
| -rw-r--r-- | modules/hosts/dragotha/dragotha.nix | 60 | ||||
| -rw-r--r-- | modules/hosts/dragotha/hardware.nix | 14 | ||||
| -rw-r--r-- | modules/hosts/tiamat/tiamat.nix | 4 |
3 files changed, 74 insertions, 4 deletions
diff --git a/modules/hosts/dragotha/dragotha.nix b/modules/hosts/dragotha/dragotha.nix new file mode 100644 index 0000000..ff8f470 --- /dev/null +++ b/modules/hosts/dragotha/dragotha.nix @@ -0,0 +1,60 @@ +{ + inputs, + self, + ... +}: { + flake.nixosConfigurations.dragotha = inputs.nixpkgs.lib.nixosSystem { + modules = [ + self.nixosModules.dragotha + self.nixosModules.dragothaHardware + + self.nixosModules.createHost + self.nixosModules.hostOptions + + self.nixosModules.desktop + self.nixosModules.nasClient + ]; + }; + + flake.nixosModules.dragotha = {pkgs, ...}: { + hostOptions = { + host.name = "dragotha"; + user.name = "jck"; + user.email = "jckrinsky@gmail.com"; + }; + + boot.kernelParams = ["quiet"]; + + hardware.graphics = { + enable = true; + enable32Bit = true; + }; + + networking.nameservers = ["1.1.1.1" "9.9.9.9"]; + + services.automatic-timezoned.enable = true; + + services.kanata = { + enable = true; + keyboards.tkb = { + devices = [ + "dev/input/by-path/platform-i8042-serio-0-event-kbd" + ]; + config = " + (defsrc h j k l caps) + + (deflayer default _ _ _ _ @press) + (deflayer arrows left down up right @press) + + (defalias press + (tap-hold-press 200 200 esc (layer-while-held arrows)) + ) + "; + + extraDefCfg = " + process-unmapped-keys yes + "; + }; + }; + }; +} diff --git a/modules/hosts/dragotha/hardware.nix b/modules/hosts/dragotha/hardware.nix new file mode 100644 index 0000000..19bd7f1 --- /dev/null +++ b/modules/hosts/dragotha/hardware.nix @@ -0,0 +1,14 @@ +{ + self, + inputs, + ... +}: { + flake.nixosModules.dragothaHardware = { + config, + lib, + pkgs, + modulesPath, + ... + }: { + }; +} diff --git a/modules/hosts/tiamat/tiamat.nix b/modules/hosts/tiamat/tiamat.nix index d41ce40..58c90b9 100644 --- a/modules/hosts/tiamat/tiamat.nix +++ b/modules/hosts/tiamat/tiamat.nix @@ -3,10 +3,6 @@ self, ... }: { - imports = [ - inputs.home-manager.flakeModules.home-manager - ]; - flake.nixosConfigurations.tiamat = inputs.nixpkgs.lib.nixosSystem { modules = [ self.nixosModules.tiamat |
