From 7d9fe63a4a4e3739748dffd29dcb88e3717b81b9 Mon Sep 17 00:00:00 2001 From: atagen Date: Thu, 18 Aug 2022 10:28:50 +1000 Subject: [PATCH] fonts, minidlna, syncthing --- home/home.nix | 25 ++++++++++++++++++------- system/configuration.nix | 15 ++++++++++++--- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/home/home.nix b/home/home.nix index bb891f1..d5baba8 100644 --- a/home/home.nix +++ b/home/home.nix @@ -26,17 +26,33 @@ "rustfmt" ]) + kdeconnect + keepassxc + + syncthing + zoxide meslo-lgs-nf + + libsForQt5.bismuth ]; + services.syncthing = { + enable = true; + tray.enable = true; + }; + + services.kdeconnect = { + enable = true; + indicator = true; + }; programs.kitty = { enable = true; font = { - name = "Meslo LGS NF"; - size = 11; + name = "MesloLGS NF Regular"; + size = 10; }; }; @@ -102,11 +118,6 @@ file = "share/nix-zsh-completions/nix-zsh-completions.zsh"; } ]; - # oh-my-zsh = { - # enable = true; - # plugins = [ "git" "sudo" "zoxide" "powerlevel10k" "zsh-nix-shell" "zsh-history-search-multi-word" "zsh-vi-mode" "zsh-completions" "zsh-autopair" "zsh-autocomplete" "zsh-fast-syntax-highlighting" ]; - # theme = "powerlevel10k/powerlevel10k"; - # }; }; programs.helix.enable = true; diff --git a/system/configuration.nix b/system/configuration.nix index e2e0e11..eebbd77 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -39,6 +39,15 @@ # Enable the X11 windowing system. services.xserver.enable = true; + + # dlna + services.minidlna = { + enable = true; + announceInterval = 120; + friendlyName = "PC"; + mediaDirs = [ "A,/data/Music/Slsk" ]; + }; + # enable nvidia nixpkgs.config.allowUnfree = true; @@ -133,10 +142,10 @@ # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + # networking.firewall.allowedTCPPorts = [ 8200 ]; + # networking.firewall.allowedUDPPorts = [ 1900 ]; # Or disable the firewall altogether. - # networking.firewall.enable = false; + networking.firewall.enable = false; # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you