refactor(nixfmt): format

This commit is contained in:
2026-01-17 19:58:27 +01:00
parent 3401ed7424
commit 8f3f6ec66d
2 changed files with 24 additions and 11 deletions

View File

@@ -30,17 +30,21 @@ in
../../modules/localization ../../modules/localization
../../modules/fonts ../../modules/fonts
../../modules/ssh/hardened-openssh.nix ../../modules/ssh/hardened-openssh.nix
(import ../../modules/secrets { (import ../../modules/secrets { inherit lib inputs config; })
inherit lib inputs config;
})
../../modules/docker ../../modules/docker
]; ];
home-manager.users.${username} = import ../../home/hosts/andromache { home-manager.users.${username} = import ../../home/hosts/andromache {
inherit inputs config pkgs lib; inherit
inputs
config
pkgs
lib
;
}; };
networking.hostName = hostName; networking.hostName = hostName;
ssh.username = username; ssh.username = username;
ssh.authorizedHosts = [ "astyanax" ]; ssh.authorizedHosts = [ "astyanax" ];
@@ -80,7 +84,9 @@ in
}; };
}; };
environment.systemPackages = [ inputs.nvim.packages.x86_64-linux.nvim ]; environment.systemPackages = [
inputs.nvim.packages.x86_64-linux.nvim
];
services.xserver = { services.xserver = {
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];

View File

@@ -31,19 +31,28 @@ in
../../modules/localization ../../modules/localization
../../modules/fonts ../../modules/fonts
../../modules/ssh/hardened-openssh.nix ../../modules/ssh/hardened-openssh.nix
(import ../../modules/secrets { ../../modules/vpn/wireguard.nix
inherit lib inputs config username; (import ../../modules/secrets { inherit lib inputs config; })
}) ../../modules/docker
]; ];
home-manager.users.${username} = import ../../home/hosts/astyanax { home-manager.users.${username} = import ../../home/hosts/astyanax {
inherit inputs config pkgs lib; inherit
inputs
config
pkgs
lib
;
}; };
networking.hostName = hostName; networking.hostName = hostName;
ssh.username = username; ssh.username = username;
ssh.authorizedHosts = [ "andromache" ]; ssh.authorizedHosts = [ "andromache" ];
secrets.username = username;
docker.user = username;
hardware = { hardware = {
cpu.intel.updateMicrocode = true; cpu.intel.updateMicrocode = true;
# https://wiki.nixos.org/wiki/Intel_Graphics # https://wiki.nixos.org/wiki/Intel_Graphics
@@ -61,8 +70,6 @@ in
LIBVA_DRIVER_NAME = "iHD"; LIBVA_DRIVER_NAME = "iHD";
}; };
secrets.username = username;
environment.systemPackages = [ environment.systemPackages = [
inputs.nvim.packages.x86_64-linux.nvim inputs.nvim.packages.x86_64-linux.nvim
(pkgs.writeShellApplication { (pkgs.writeShellApplication {