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
];
nixpkgs.config.allowUnfree = true;
services.openssh.enable = true;
}

View file

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

View file

@ -18,7 +18,6 @@
hardware.pulseaudio.enable = true;
# Additional services
services.syncthing.enable = true;
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.gtkUsePortal = true;
@ -29,4 +28,13 @@
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
keepassxc
riot-desktop
syncthing
qsyncthingtray
# Spelling
hunspell
# Wire(less) internet support
dnsmasq
hostapd
@ -34,6 +36,7 @@
kdeApplications.kmailtransport
kdeApplications.knotes
kdeApplications.kolourpaint
kdeApplications.kontact
latte-dock # My PC has enough RAM by now
kdeApplications.kleopatra
kdeApplications.korganizer

View file

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

View file

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