Compare commits

..

No commits in common. "52530b729e21fc60830bb0d67d513a911d1726fe" and "54dd52b9785e6c0ec2bd3017d7929d2a85a857bd" have entirely different histories.

7 changed files with 40 additions and 80 deletions

View file

@ -1,6 +1,7 @@
{ 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 = [
./deployment/local.nix
./colmena/local.nix
./hosts/tohru/configuration.nix
];
};
@ -45,7 +45,7 @@ in {
time.timeZone = "Etc/UTC";
imports = [
./deployment/remote.nix
./colmena/remote.nix
./hosts/yevaud/configuration.nix
];
};
@ -55,7 +55,7 @@ in {
time.timeZone = "Etc/UTC";
imports = [
./deployment/remote.nix
./colmena/remote.nix
./hosts/orm/configuration.nix
];
};

View file

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

View file

@ -1,10 +1,14 @@
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./syncthing.nix
];
imports =
[
./hardware-configuration.nix
./home.nix
../../services/fonts.nix
../../services/steam.nix
./syncthing.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -22,12 +26,6 @@
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,31 +1,33 @@
{ config, lib, pkgs, ... }:
{
dconf.enable = true;
home-manager.users.qenya = { pkgs, ... }: {
dconf.enable = true;
programs = {
firefox.enable = true; # TODO: config is not yet nix-ified
vscode.enable = true;
programs = {
firefox.enable = true; # TODO: config is not yet nix-ified
vscode.enable = true;
};
home.packages = (with pkgs; [
bitwarden
discord
foliate
gimp-with-plugins
jellyfin-media-player
keepassxc
tor-browser-bundle-bin
# libreoffice
libreoffice
hunspell
hunspellDicts.en_GB-ise
# games
openttd
prismlauncher
nur.repos.qenya.digital-a-love-story
nur.repos.qenya.dont-take-it-personally-babe
]);
};
home.packages = with pkgs; [
bitwarden
discord
foliate
gimp-with-plugins
jellyfin-media-player
keepassxc
tor-browser-bundle-bin
# libreoffice
libreoffice
hunspell
hunspellDicts.en_GB-ise
# games
openttd
prismlauncher
nur.repos.qenya.digital-a-love-story
nur.repos.qenya.dont-take-it-personally-babe
];
}

View file

@ -15,36 +15,6 @@
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";