From f2903b6e6450fe5d9526196920835e8006ca03fd Mon Sep 17 00:00:00 2001 From: scouckel Date: Mon, 6 Apr 2026 14:49:29 -0500 Subject: dragotha start --- modules/hosts/dragotha/dragotha.nix | 60 +++++++++++++++++++++++++++++++++++++ modules/hosts/dragotha/hardware.nix | 14 +++++++++ modules/hosts/tiamat/tiamat.nix | 4 --- 3 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 modules/hosts/dragotha/dragotha.nix create mode 100644 modules/hosts/dragotha/hardware.nix 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 -- cgit v1.3