diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-02-01 15:17:32 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-02-01 15:17:32 +0530 |
| commit | 1d0c01a06c33b2d0dd869cb8b203574b1d149c0a (patch) | |
| tree | 755c72e22020bafc82eb4240fd3568664374818f /configuration.nix | |
| parent | 7bdc3fe961cee0c195e6f9e969ed8c947faf6305 (diff) | |
| download | nixos-config-1d0c01a06c33b2d0dd869cb8b203574b1d149c0a.tar.gz nixos-config-1d0c01a06c33b2d0dd869cb8b203574b1d149c0a.zip | |
Clipmenu setup
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 26 |
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 |
