Compare commits

...

4 commits

7 changed files with 80 additions and 40 deletions

View file

@ -1,7 +1,6 @@
{ name, nodes, config, lib, pkgs, ... }:
let sources = import ../npins;
in {
{
deployment = {
allowLocalDeployment = true;
targetHost = null;

View file

@ -35,7 +35,7 @@ in {
time.timeZone = "Europe/London";
imports = [
./colmena/local.nix
./deployment/local.nix
./hosts/tohru/configuration.nix
];
};
@ -45,7 +45,7 @@ in {
time.timeZone = "Etc/UTC";
imports = [
./colmena/remote.nix
./deployment/remote.nix
./hosts/yevaud/configuration.nix
];
};
@ -55,7 +55,7 @@ in {
time.timeZone = "Etc/UTC";
imports = [
./colmena/remote.nix
./deployment/remote.nix
./hosts/orm/configuration.nix
];
};

11
hosts/shaw/home.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
services.syncthing = {
enable = true;
extraOptions = [
"--gui-address=:8385"
"--home=/home/qenya/state/syncthing"
];
};
}

View file

@ -1,12 +1,8 @@
{ config, lib, pkgs, ... }:
{
imports =
[
imports = [
./hardware-configuration.nix
./home.nix
../../services/fonts.nix
../../services/steam.nix
./syncthing.nix
];
@ -26,6 +22,12 @@
qenya.services.fonts.enable = true;
qenya.services.steam.enable = true;
home-manager.users.qenya = { pkgs, ... }: {
imports = [
./home.nix
];
};
networking.networkmanager.enable = true;
i18n.defaultLocale = "en_GB.UTF-8";

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.qenya = { pkgs, ... }: {
dconf.enable = true;
programs = {
@ -9,7 +8,7 @@
vscode.enable = true;
};
home.packages = (with pkgs; [
home.packages = with pkgs; [
bitwarden
discord
foliate
@ -28,6 +27,5 @@
prismlauncher
nur.repos.qenya.digital-a-love-story
nur.repos.qenya.dont-take-it-personally-babe
]);
};
];
}

View file

@ -15,6 +15,36 @@
privateKeyFile = config.age.secrets.wireguard-peer-yevaud.path;
};
services.bind = {
enable = true;
cacheNetworks = [ "10.127.0.0/16" "fd70:81ca:0f8f::/48" ];
forwarders = [ ];
listenOn = [ config.birdsong.hosts.yevaud.ipv4 ];
listenOnIpv6 = [ config.birdsong.hosts.yevaud.ipv6 ];
zones = {
"birdsong.internal" = {
master = true;
# TODO: pick better email address for SOA record
file = pkgs.writeText "birdsong.internal.zone" ''
$TTL 60
$ORIGIN birdsong.internal.
birdsong.internal. IN SOA ns.birdsong.internal. accounts.katherina.rocks. ( 2024080401 7200 3600 1209600 3600 )
birdsong.internal. IN NS ns.birdsong.internal.
yevaud.c.birdsong.internal. IN A 10.127.1.1
yevaud.c.birdsong.internal. IN AAAA fd70:81ca:0f8f:1::1
ns.birdsong.internal. IN A 10.127.1.1
ns.birdsong.internal. IN AAAA fd70:81ca:0f8f:1::1
'';
};
};
};
networking.resolvconf.useLocalResolver = false;
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
qenya.services.forgejo = {
enable = true;
domain = "git.qenya.tel";