simplify expressions

This commit is contained in:
Moritz Böhme 2022-01-09 14:07:54 +01:00
parent 6f626d77c1
commit 5c5cfedc98
4 changed files with 9 additions and 8 deletions

View file

@ -4,6 +4,6 @@
home-manager.users.moritz.programs.direnv = { home-manager.users.moritz.programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
nix-direnv = { enable = true; }; nix-direnv.enable = true;
}; };
} }

View file

@ -6,7 +6,7 @@
enable = true; enable = true;
userName = "MoritzBoehme"; userName = "MoritzBoehme";
userEmail = "mr.x@moritzboeh.me"; userEmail = "mr.x@moritzboeh.me";
extraConfig = { init.defaultBranch = "main"; }; extraConfig.init.defaultBranch = "main";
delta.enable = true; delta.enable = true;
}; };
}; };

View file

@ -11,9 +11,11 @@
]; ];
services = { services = {
printing.enable = true;
printing.drivers = with pkgs; [ epson-escpr2 epson-escpr ];
avahi = { avahi = {
printing = {
enable = true;
drivers = with pkgs; [ epson-escpr2 epson-escpr ];
};
enable = true; enable = true;
nssmdns = true; nssmdns = true;
}; };
@ -22,7 +24,7 @@
alsa.enable = true; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
redshift = { enable = true; }; redshift.enable = true;
}; };
location = { location = {
latitude = 52.3; latitude = 52.3;

View file

@ -4,9 +4,8 @@ let
from = 1714; from = 1714;
to = 1764; to = 1764;
}; };
in in {
{ home-manager.users.moritz.services.kdeconnect.enable = true;
home-manager.users.moritz.services = { kdeconnect.enable = true; };
networking.firewall = { networking.firewall = {
allowedTCPPortRanges = [ ports ]; allowedTCPPortRanges = [ ports ];
allowedUDPPortRanges = [ ports ]; allowedUDPPortRanges = [ ports ];