From 2b82277143ff61fa52272720c0a45a69ad613527 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Sun, 4 Oct 2026 14:14:51 +0200 Subject: [PATCH] Run nixfmt --- flake.nix | 12 ++-- hosts/fw/configuration.nix | 125 ++++++++++++++++++------------------- 2 files changed, 68 insertions(+), 69 deletions(-) diff --git a/flake.nix b/flake.nix index 781865d..ae264c9 100644 --- a/flake.nix +++ b/flake.nix @@ -30,17 +30,17 @@ nixosConfigurations.fw = nixpkgs.lib.nixosSystem { specialArgs = { - inherit inputs; - user = { - username = "tsi"; - description = "tsi"; - }; + inherit inputs; + user = { + username = "tsi"; + description = "tsi"; + }; }; modules = [ hosts/fw/configuration.nix home-manager.nixosModules.home-manager nix-index-database.nixosModules.default - ({ pkgs, ...}: { + ({ pkgs, ... }: { environment.systemPackages = [ claude-desktop-nix.packages.${pkgs.stdenv.hostPlatform.system}.default ]; diff --git a/hosts/fw/configuration.nix b/hosts/fw/configuration.nix index 45d7590..b4f6a1a 100644 --- a/hosts/fw/configuration.nix +++ b/hosts/fw/configuration.nix @@ -52,7 +52,6 @@ with lib; ]; }; - boot.kernelPackages = pkgs.linuxPackagesFor ( pkgs.linux_latest.override { argsOverride = rec { @@ -185,7 +184,7 @@ with lib; services.pcscd.enable = true; systemd.services.keyd.environment = { - YDOTOOL_SOCKET = "/run/ydotoold/socket"; + YDOTOOL_SOCKET = "/run/ydotoold/socket"; }; services.keyd = @@ -204,71 +203,71 @@ with lib; enable = true; keyboards.default = { - ids = [ "*" ]; - extraConfig = '' - [main] - leftcontrol = layer(lctrl) - leftalt = layer(lalt) - leftshift = layer(lshift) - leftmeta = layer(lsuper) - altgr = layer(rightalt) + ids = [ "*" ]; + extraConfig = '' + [main] + leftcontrol = layer(lctrl) + leftalt = layer(lalt) + leftshift = layer(lshift) + leftmeta = layer(lsuper) + altgr = layer(rightalt) - [lctrl:C] + [lctrl:C] - [lalt:A] + [lalt:A] - [lshift:S] + [lshift:S] - [lsuper:M] + [lsuper:M] - [altgr:G] + [altgr:G] - [lalt+lctrl] - h = left - j = down - k = up - l = right + [lalt+lctrl] + h = left + j = down + k = up + l = right - [altgr] - h = command(${mouseScroll} -1 0) - j = command(${mouseScroll} 0 -1) - k = command(${mouseScroll} 0 1) - l = command(${mouseScroll} 1 0) + [altgr] + h = command(${mouseScroll} -1 0) + j = command(${mouseScroll} 0 -1) + k = command(${mouseScroll} 0 1) + l = command(${mouseScroll} 1 0) - [lctrl+lsuper] - h = C-left - j = C-down - k = C-up - l = C-right + [lctrl+lsuper] + h = C-left + j = C-down + k = C-up + l = C-right - [lalt+lctrl+lsuper] - h = command(${mouseMove} -200 0) - j = command(${mouseMove} 0 200) - k = command(${mouseMove} 0 -200) - l = command(${mouseMove} 200 0) - enter = rightmouse + [lalt+lctrl+lsuper] + h = command(${mouseMove} -200 0) + j = command(${mouseMove} 0 200) + k = command(${mouseMove} 0 -200) + l = command(${mouseMove} 200 0) + enter = rightmouse - [lctrl+lshift+lsuper] - h = C-S-left - j = C-S-down - k = C-S-up - l = C-S-right + [lctrl+lshift+lsuper] + h = C-S-left + j = C-S-down + k = C-S-up + l = C-S-right - [lalt+lctrl+lshift] - h = S-left - j = S-down - k = S-up - l = S-right + [lalt+lctrl+lshift] + h = S-left + j = S-down + k = S-up + l = S-right - [lalt+lctrl+lshift+lsuper] - h = command(${mouseMove} -20 0) - j = command(${mouseMove} 0 20) - k = command(${mouseMove} 0 -20) - l = command(${mouseMove} 20 0) - enter = leftmouse - ''; + [lalt+lctrl+lshift+lsuper] + h = command(${mouseMove} -20 0) + j = command(${mouseMove} 0 20) + k = command(${mouseMove} 0 -20) + l = command(${mouseMove} 20 0) + enter = leftmouse + ''; }; - }; + }; services.netbird.enable = true; #services.netbird.clients.wt0 = { @@ -461,15 +460,15 @@ with lib; documentation.dev.enable = true; services.openssh = { - enable = true; - openFirewall = true; - settings = { - PasswordAuthentication = true; - KbdInteractiveAuthentication = false; - PermitRootLogin = "no"; - AllowUsers = [ "tsi" ]; - MaxAuthTries = 30; - }; + enable = true; + openFirewall = true; + settings = { + PasswordAuthentication = true; + KbdInteractiveAuthentication = false; + PermitRootLogin = "no"; + AllowUsers = [ "tsi" ]; + MaxAuthTries = 30; + }; }; services.power-profiles-daemon.enable = true;