aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configuration.nix26
1 files changed, 22 insertions, 4 deletions
diff --git a/configuration.nix b/configuration.nix
index e2e54a6..7f94e62 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ pkgs, lib, ... }:
{
imports = [
@@ -15,7 +15,7 @@
./modules/sound
./modules/notifications
./modules/kakoune
- ./modules/ai
+ # ./modules/ai
];
nixpkgs.config = {
@@ -23,6 +23,14 @@
allowBroken = false;
};
+ services.clipmenu = {
+ enable = true;
+ };
+ systemd.user.services.clipmenu = {
+ wantedBy = lib.mkForce [ "default.target" ];
+ after = lib.mkForce [ "default.target" ];
+ };
+
services.udisks2.enable = true;
programs.dconf.enable = true;
@@ -49,8 +57,17 @@
hostName = "smartfridge";
firewall = {
enable = true;
- allowedTCPPorts = [ 3000 3001 80 443 ];
- allowedUDPPorts = [ 41641 80 443 ];
+ allowedTCPPorts = [
+ 8081
+ 3000
+ 3001
+ 22000 # Syncthing
+ ];
+ allowedUDPPorts = [
+ 41641 # Tailscale
+ 22000 # Syncthing
+ 21027 # Syncthing (discovery)
+ ];
};
nameservers = [ "100.100.100.100" "1.1.1.1" "8.8.8.8" ];
search = [ "resolve.construction" ];
@@ -115,6 +132,7 @@
};
};
fonts.packages = with pkgs; [
+ # nerd-fonts._3270
nerd-fonts.jetbrains-mono
cozette
noto-fonts-color-emoji