summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/temp
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/temp')
-rw-r--r--makefu/2configs/temp/8812au.nix6
-rw-r--r--makefu/2configs/temp/rst-issue.nix21
-rw-r--r--makefu/2configs/temp/sabnzbd.nix5
-rw-r--r--makefu/2configs/temp/share-samba.nix38
4 files changed, 0 insertions, 70 deletions
diff --git a/makefu/2configs/temp/8812au.nix b/makefu/2configs/temp/8812au.nix
deleted file mode 100644
index 9587171b3..000000000
--- a/makefu/2configs/temp/8812au.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{config, pkgs, ...}:
-{
- #boot.extraModulePackages = [ pkgs.rtl8812au ];
- boot.extraModulePackages = [config.boot.kernelPackages.rtl8812au ];
- boot.kernelModules = [ "rtl8812au" ];
-}
diff --git a/makefu/2configs/temp/rst-issue.nix b/makefu/2configs/temp/rst-issue.nix
deleted file mode 100644
index 648831a98..000000000
--- a/makefu/2configs/temp/rst-issue.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{pkgs, ...}:
-let
- itf = "enp0s25";
-in {
- systemd.services.rst-issue = {
- wantedBy = [ "multi-user.target" ];
- script = ''
- d=/var/cache/rst-issue
- mkdir -p $d
- cd $d
- ITF=${itf}
- now=$(date --rfc-3339=s | sed 's/ /T/')
- ${pkgs.tcpdump}/bin/tcpdump -i $ITF -w run-$now.pcap &
- echo "timestamp,$now" >> mtr.log
- ${pkgs.mtr}/bin/mtr -4 --tcp bsi.bund.de www.thalesgroup.com nokia.com -C --show-ips -z >> mtr.log
- kill %1
- '';
- startAt = "*:0/15"; # every 15 minutes
-
- };
-}
diff --git a/makefu/2configs/temp/sabnzbd.nix b/makefu/2configs/temp/sabnzbd.nix
deleted file mode 100644
index d8eab2732..000000000
--- a/makefu/2configs/temp/sabnzbd.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{pkgs, ...}:
-{
- services.sabnzbd.enable = true;
- systemd.services.sabnzbd.environment.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
-}
diff --git a/makefu/2configs/temp/share-samba.nix b/makefu/2configs/temp/share-samba.nix
deleted file mode 100644
index 106f8fac6..000000000
--- a/makefu/2configs/temp/share-samba.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{config, ... }:{
- users.users.smbguest = {
- name = "smbguest";
- uid = config.ids.uids.smbguest; # effectively systemUser
- group = "share";
- description = "smb guest user";
- home = "/var/empty";
- };
- users.groups.share.members = [ "makefu" ];
-
- networking.firewall.allowedTCPPorts = [
- 139 445 # samba
- ];
-
- networking.firewall.allowedUDPPorts = [
- 137 138
- ];
- services.samba = {
- enable = true;
- shares = {
- share-home = {
- path = "/home/share/";
- "read only" = "no";
- browseable = "yes";
- "guest ok" = "yes";
- };
- };
- extraConfig = ''
- guest account = smbguest
- map to guest = bad user
- # disable printing
- load printers = no
- printing = bsd
- printcap name = /dev/null
- disable spoolss = yes
- '';
- };
-}