Added half-baked Syncthing, added pihole

This commit is contained in:
Chris Josten 2020-05-18 13:40:41 +02:00
parent 45871c09e8
commit b3fb5fe491
6 changed files with 17 additions and 3 deletions

View file

@ -5,4 +5,5 @@
./pkgs/console-core.nix ./pkgs/console-core.nix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.openssh.enable = true;
} }

View file

@ -5,6 +5,7 @@
systemPackages = with pkgs; [ systemPackages = with pkgs; [
# General # General
git git
socat
# C/C++ # C/C++
bison bison
gcc gcc

View file

@ -18,7 +18,6 @@
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
# Additional services # Additional services
services.syncthing.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.gtkUsePortal = true; xdg.portal.gtkUsePortal = true;
@ -29,4 +28,13 @@
libinput.enable = true; libinput.enable = true;
}; };
# PulseAUdio networking
hardware.pulseaudio.tcp.enable = true;
hardware.pulseaudio.zeroconf.discovery.enable = true;
# Syncthing
services.syncthing.enable = true;
services.syncthing.user = "chris";
services.syncthing.configDir = "/home/chris/.config/syncthing";
services.syncthing.dataDir = "/home/chris";
} }

View file

@ -7,9 +7,11 @@
firefox firefox
keepassxc keepassxc
riot-desktop riot-desktop
syncthing
qsyncthingtray qsyncthingtray
# Spelling
hunspell
# Wire(less) internet support # Wire(less) internet support
dnsmasq dnsmasq
hostapd hostapd
@ -34,6 +36,7 @@
kdeApplications.kmailtransport kdeApplications.kmailtransport
kdeApplications.knotes kdeApplications.knotes
kdeApplications.kolourpaint kdeApplications.kolourpaint
kdeApplications.kontact
latte-dock # My PC has enough RAM by now latte-dock # My PC has enough RAM by now
kdeApplications.kleopatra kdeApplications.kleopatra
kdeApplications.korganizer kdeApplications.korganizer

View file

@ -3,6 +3,7 @@
{ {
networking = { networking = {
# PiHole # PiHole
nameservers = ["192.168.178.151"];
networkmanager.insertNameservers = ["192.168.178.151"]; networkmanager.insertNameservers = ["192.168.178.151"];
}; };
} }

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "nx-sddm"; name = "nx-sddm";
src = fetchGit { src = fetchGit {
url = https://githee.netsoj.nl/chris-config/sddm-nx.git; url = https://githee.netsoj.nl/chris-config/sddm-nx.git;
rev ="636e786f88d2e9838c8096465d8b4e9b3b0914aa"; rev ="bf79c1c1ee8af4966b0d756efcee4d8499d762de";
#sha256 = "1nwfisz13y2pfkrnxlkrqp1j546m1na9bkdrd0khm5ilb71d7win"; #sha256 = "1nwfisz13y2pfkrnxlkrqp1j546m1na9bkdrd0khm5ilb71d7win";
}; };
installPhase = '' installPhase = ''