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 {
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
];

View file

@ -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;