Fix statix suggestions

This commit is contained in:
Tristan D. 2024-01-22 21:09:28 +01:00
parent e91b46fc8d
commit 92792ea0e0
Signed by: tristan
SSH key fingerprint: SHA256:3RU4RLOoM8oAjFU19f1W6t8uouZbA7GWkaSW6rjp1k8
6 changed files with 22 additions and 18 deletions

View file

@ -137,7 +137,7 @@
}; };
nixosConfigurations = { nixosConfigurations = {
nixos-he4 = nixpkgs.lib.nixosSystem { nixos-he4 = nixpkgs.lib.nixosSystem {
system = system; inherit system;
specialArgs = args; specialArgs = args;
modules = modules =
[ [
@ -152,7 +152,7 @@
++ osModules; ++ osModules;
}; };
nixos-pulse = nixpkgs.lib.nixosSystem { nixos-pulse = nixpkgs.lib.nixosSystem {
system = system; inherit system;
specialArgs = args; specialArgs = args;
modules = modules =
[ [
@ -167,7 +167,7 @@
++ osModules; ++ osModules;
}; };
nixos-desk = nixpkgs.lib.nixosSystem { nixos-desk = nixpkgs.lib.nixosSystem {
system = system; inherit system;
specialArgs = args; specialArgs = args;
modules = modules =
[ [
@ -191,7 +191,7 @@
++ osModules; ++ osModules;
}; };
nixos-karl-kvm-guest = nixpkgs.lib.nixosSystem { nixos-karl-kvm-guest = nixpkgs.lib.nixosSystem {
system = system; inherit system;
specialArgs = args; specialArgs = args;
modules = modules =
[ [

View file

@ -20,9 +20,6 @@
''; '';
}; };
security.pki.certificates = [
(lib.readFile ../../ext/internal-ca.crt)
];
home-manager.backupFileExtension = "bak"; home-manager.backupFileExtension = "bak";
# locale # locale
@ -49,11 +46,16 @@
}; };
#################### ####################
security.rtkit.enable = true; security = {
pki.certificates = [
(lib.readFile ../../ext/internal-ca.crt)
];
rtkit.enable = true;
security.sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;
execWheelOnly = true; execWheelOnly = true;
};
}; };
environment.sessionVariables = { environment.sessionVariables = {

View file

@ -11,10 +11,12 @@
fontconfig = { fontconfig = {
antialias = true; antialias = true;
defaultFonts.serif = [ "Iosevka Nerd Font Propo" ]; defaultFonts = {
defaultFonts.sansSerif = [ "Iosevka Nerd Font Propo" ]; serif = [ "Iosevka Nerd Font Propo" ];
defaultFonts.monospace = [ "Iosevka Nerd Font Mono" ]; sansSerif = [ "Iosevka Nerd Font Propo" ];
defaultFonts.emoji = [ "Noto Color Emoji" ]; monospace = [ "Iosevka Nerd Font Mono" ];
emoji = [ "Noto Color Emoji" ];
};
hinting.enable = true; hinting.enable = true;
hinting.style = "slight"; hinting.style = "slight";

View file

@ -17,7 +17,7 @@
config = { config = {
home = { home = {
username = username; inherit username;
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
stateVersion = "23.05"; stateVersion = "23.05";

View file

@ -10,7 +10,7 @@
]; ];
config.home = { config.home = {
username = username; inherit username;
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
stateVersion = "23.05"; stateVersion = "23.05";

View file

@ -14,7 +14,7 @@
]; ];
config.home = { config.home = {
username = username; inherit username;
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
stateVersion = "23.05"; stateVersion = "23.05";