simplify expressions

nixos
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 = {
enable = true;
enableZshIntegration = true;
nix-direnv = { enable = true; };
nix-direnv.enable = true;
};
}

View File

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

View File

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

View File

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