1
0
Fork 0
forked from fabian/nix

sys: create defaultDesktopPack for sys and move settings into it

This commit is contained in:
Fabian Montero 2025-09-15 04:04:08 -06:00
parent 2c4d24a33b
commit 87e96b52c3
6 changed files with 87 additions and 91 deletions

View file

@ -17,11 +17,6 @@ with lib; {
./networkMap.nix
];
local.soju = {
enable = true;
fullyQualifiedDomain = "soju.posixlycorrect.com";
};
local.sys = {
baseline.enable = true;
@ -42,9 +37,10 @@ with lib; {
};
};
networking = {
hostName = "vps";
domain = "posixlycorrect.com";
# trivionomicon
local.soju = {
enable = true;
fullyQualifiedDomain = "soju.posixlycorrect.com";
};
services.openssh = {
@ -53,29 +49,13 @@ with lib; {
programs.mosh.enable = true;
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit flakes;
doctrine = flakes.trivionomicon.lib.mkDoctrine {
inherit pkgs;
inherit (doctrine) prefix;
namespace = "home";
};
};
users.fabian = {
imports = [
flakes.impermanence.nixosModules.home-manager.impermanence
"${flakes.self}/home/platforms/fabian@vps"
"${flakes.self}/home"
];
};
networking = {
hostName = "vps";
domain = "posixlycorrect.com";
firewall.allowedUDPPorts = [51820]; #TODO
};
networking.firewall.allowedUDPPorts = [51820]; #TODO
time.timeZone = "Europe/Amsterdam";
systemd = {
extraConfig = ''
@ -137,5 +117,25 @@ with lib; {
};
};
time.timeZone = "Europe/Amsterdam";
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit flakes;
doctrine = flakes.trivionomicon.lib.mkDoctrine {
inherit pkgs;
inherit (doctrine) prefix;
namespace = "home";
};
};
users.fabian = {
imports = [
flakes.impermanence.nixosModules.home-manager.impermanence
"${flakes.self}/home/platforms/fabian@vps"
"${flakes.self}/home"
];
};
};
}