pull out configuration into separate files

This commit is contained in:
Haak Saxberg 2021-08-20 21:15:34 -07:00
parent 926e39a5fc
commit 1141392278
6 changed files with 240 additions and 241 deletions

View file

@ -13,6 +13,7 @@
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 42;
boot.loader.efi.canTouchEfiVariables = true;
hardware.bluetooth.enable = true;
@ -51,17 +52,21 @@
# $ nix search wget
environment.systemPackages = with pkgs; [
cachix
calibre
firefox
inkscape
p7zip
plasma-browser-integration
slack
vim
vlc
wget
xclip
zathura
zsh
];
nixpkgs.config.allowUnfree = true;
nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
fonts.fonts = with pkgs; [ fira-code ];
@ -71,10 +76,12 @@
allowedTCPPorts = [
631 # CUPs port for printing
6881 # port for torrenting
8010 # port for VLC to chromecast
];
allowedUDPPorts = [
631
6881
8010
];
};
# Or disable the firewall altogether.