more box fixing

This commit is contained in:
Anish L 2022-04-24 15:06:57 +10:00
parent b43727dc65
commit 7fa58d1799
4 changed files with 3 additions and 19 deletions

View file

@ -118,7 +118,7 @@
suites = with profiles; rec { suites = with profiles; rec {
base = [ core users.root users.anish ]; base = [ core users.root users.anish ];
sealight = [ base server ]; # matrix rsshub backup wireguard sealight = [ base server ]; # matrix rsshub backup wireguard
mossnet = [ base server taskd nextcloud networking wireguard-box shaarli wallabag headphones dns backup monitoring dev gonic cron nfs ]; mossnet = [ base server taskd nextcloud wireguard-box shaarli wallabag headphones dns backup monitoring gonic nfs ];
cube = [ base site server ]; cube = [ base site server ];
graphical = [ base bluetooth music sync wireguard wifi desktop ]; graphical = [ base bluetooth music sync wireguard wifi desktop ];
curve = [ graphical secrets ]; curve = [ graphical secrets ];

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./configuration.nix ./configuration.nix
] ++ suites.box; ] ++ suites.mossnet;
home-manager.users.anish = { self, suites, ... }: { home-manager.users.anish = { self, suites, ... }: {
imports = [ ] ++ suites.hmBase; imports = [ ] ++ suites.hmBase;

View file

@ -1,16 +0,0 @@
{ config, pkgs, lib, ... }:
{
services.dnsmasq.enable = true;
services.dnsmasq.extraConfig = ''
domain-needed
no-resolv
local=/lan/
local=/moss/
cache-size=5000
addn-hosts=/ec/adblock.hosts
'';
services.dnsmasq.servers = [ "45.90.30.49" "45.90.28.49" "1.1.1.1" "8.8.8.8" ];
networking.hosts = {"192.168.1.240" = ["mossnet.lan" "links.mossnet.lan" "read.mossnet.lan" "stats.mossnet.lan" "music.moss" "tasks.moss" "headphones.moss" "cloud.moss" "links.moss" "read.moss" "stats.moss" "rss.moss"];};
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
}

View file

@ -7,7 +7,7 @@
pkgs.git pkgs.git
]; ];
script = '' script = ''
${pkgs.coreutils}/bin/cd /home/anish/vimwiki/ ${pkgs.coreutils}/bin/cd /home/anish/kitaab/vimwiki
${pkgs.git} commit -am "syncing curve" ${pkgs.git} commit -am "syncing curve"
${pkgs.git} push ${pkgs.git} push
''; '';