Run nixfmt

This commit is contained in:
cubernetes 2026-10-04 14:14:51 +02:00
parent bf34454320
commit 2b82277143
2 changed files with 68 additions and 69 deletions

View file

@ -30,17 +30,17 @@
nixosConfigurations.fw = nixpkgs.lib.nixosSystem { nixosConfigurations.fw = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
user = { user = {
username = "tsi"; username = "tsi";
description = "tsi"; description = "tsi";
}; };
}; };
modules = [ modules = [
hosts/fw/configuration.nix hosts/fw/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.default nix-index-database.nixosModules.default
({ pkgs, ...}: { ({ pkgs, ... }: {
environment.systemPackages = [ environment.systemPackages = [
claude-desktop-nix.packages.${pkgs.stdenv.hostPlatform.system}.default claude-desktop-nix.packages.${pkgs.stdenv.hostPlatform.system}.default
]; ];

View file

@ -52,7 +52,6 @@ with lib;
]; ];
}; };
boot.kernelPackages = pkgs.linuxPackagesFor ( boot.kernelPackages = pkgs.linuxPackagesFor (
pkgs.linux_latest.override { pkgs.linux_latest.override {
argsOverride = rec { argsOverride = rec {
@ -185,7 +184,7 @@ with lib;
services.pcscd.enable = true; services.pcscd.enable = true;
systemd.services.keyd.environment = { systemd.services.keyd.environment = {
YDOTOOL_SOCKET = "/run/ydotoold/socket"; YDOTOOL_SOCKET = "/run/ydotoold/socket";
}; };
services.keyd = services.keyd =
@ -204,71 +203,71 @@ with lib;
enable = true; enable = true;
keyboards.default = { keyboards.default = {
ids = [ "*" ]; ids = [ "*" ];
extraConfig = '' extraConfig = ''
[main] [main]
leftcontrol = layer(lctrl) leftcontrol = layer(lctrl)
leftalt = layer(lalt) leftalt = layer(lalt)
leftshift = layer(lshift) leftshift = layer(lshift)
leftmeta = layer(lsuper) leftmeta = layer(lsuper)
altgr = layer(rightalt) 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] [lalt+lctrl]
h = left h = left
j = down j = down
k = up k = up
l = right l = right
[altgr] [altgr]
h = command(${mouseScroll} -1 0) h = command(${mouseScroll} -1 0)
j = command(${mouseScroll} 0 -1) j = command(${mouseScroll} 0 -1)
k = command(${mouseScroll} 0 1) k = command(${mouseScroll} 0 1)
l = command(${mouseScroll} 1 0) l = command(${mouseScroll} 1 0)
[lctrl+lsuper] [lctrl+lsuper]
h = C-left h = C-left
j = C-down j = C-down
k = C-up k = C-up
l = C-right l = C-right
[lalt+lctrl+lsuper] [lalt+lctrl+lsuper]
h = command(${mouseMove} -200 0) h = command(${mouseMove} -200 0)
j = command(${mouseMove} 0 200) j = command(${mouseMove} 0 200)
k = command(${mouseMove} 0 -200) k = command(${mouseMove} 0 -200)
l = command(${mouseMove} 200 0) l = command(${mouseMove} 200 0)
enter = rightmouse enter = rightmouse
[lctrl+lshift+lsuper] [lctrl+lshift+lsuper]
h = C-S-left h = C-S-left
j = C-S-down j = C-S-down
k = C-S-up k = C-S-up
l = C-S-right l = C-S-right
[lalt+lctrl+lshift] [lalt+lctrl+lshift]
h = S-left h = S-left
j = S-down j = S-down
k = S-up k = S-up
l = S-right l = S-right
[lalt+lctrl+lshift+lsuper] [lalt+lctrl+lshift+lsuper]
h = command(${mouseMove} -20 0) h = command(${mouseMove} -20 0)
j = command(${mouseMove} 0 20) j = command(${mouseMove} 0 20)
k = command(${mouseMove} 0 -20) k = command(${mouseMove} 0 -20)
l = command(${mouseMove} 20 0) l = command(${mouseMove} 20 0)
enter = leftmouse enter = leftmouse
''; '';
}; };
}; };
services.netbird.enable = true; services.netbird.enable = true;
#services.netbird.clients.wt0 = { #services.netbird.clients.wt0 = {
@ -461,15 +460,15 @@ with lib;
documentation.dev.enable = true; documentation.dev.enable = true;
services.openssh = { services.openssh = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
settings = { settings = {
PasswordAuthentication = true; PasswordAuthentication = true;
KbdInteractiveAuthentication = false; KbdInteractiveAuthentication = false;
PermitRootLogin = "no"; PermitRootLogin = "no";
AllowUsers = [ "tsi" ]; AllowUsers = [ "tsi" ];
MaxAuthTries = 30; MaxAuthTries = 30;
}; };
}; };
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;