wanda: upstream

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-03-25 18:49:51 +03:00
parent 1a891252ab
commit ceb0ad4b87
11 changed files with 36 additions and 28 deletions

View file

@ -1,7 +1,6 @@
{config, ...}: { {config, ...}: {
environment = { environment = {
variables = { variables = {
AMD_VULKAN_ICD = "AMDVLK";
HOSTNAME = config.networking.hostName; HOSTNAME = config.networking.hostName;
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland"; SDL_VIDEODRIVER = "wayland";

View file

@ -4,13 +4,10 @@
"hand7s" = { "hand7s" = {
imports = [ imports = [
"${self}/hand7s/" "${self}/hand7s/"
self.inputs.agenix.homeManagerModules.default
self.inputs.agenix.homeManagerModules.default
self.inputs.spicetify-nix.homeManagerModules.default self.inputs.spicetify-nix.homeManagerModules.default
self.inputs.hyprland.homeManagerModules.default self.inputs.hyprland.homeManagerModules.default
self.inputs.chaotic.homeManagerModules.default self.inputs.chaotic.homeManagerModules.default
self.inputs.sops-nix.homeManagerModules.sops self.inputs.sops-nix.homeManagerModules.sops
self.inputs.nix-index-database.homeModules.nix-index self.inputs.nix-index-database.homeModules.nix-index
self.inputs.noctalia.homeModules.default self.inputs.noctalia.homeModules.default
]; ];

View file

@ -3,6 +3,28 @@ _: {
firewall = { firewall = {
allowPing = true; allowPing = true;
enable = true; enable = true;
checkReversePath = false;
interfaces = {
eno1 = rec {
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedUDPPortRanges = allowedTCPPortRanges;
};
salt-hand7s-pc = rec {
allowedTCPPorts = [
6567
];
allowedUDPPorts = allowedTCPPorts;
};
};
}; };
}; };
} }

View file

@ -1,5 +1,5 @@
_: { _: {
networking = { networking = {
hostName = "wanda"; hostName = "wand";
}; };
} }

View file

@ -1,7 +0,0 @@
_: {
networking = {
hosts = {
# nope.
};
};
}

View file

@ -7,7 +7,7 @@ _: {
mode = "challenge-response"; mode = "challenge-response";
control = "sufficient"; control = "sufficient";
id = [ id = [
"1873055870" "funnyID"
]; ];
}; };
}; };

View file

@ -5,7 +5,7 @@
allowSFTP = true; allowSFTP = true;
openFirewall = true; openFirewall = true;
ports = [ ports = [
48630 6969
]; ];
settings = { settings = {

View file

@ -1,10 +0,0 @@
_: {
services = {
zerotierone = {
enable = true;
joinNetworks = [
#
];
};
};
}

View file

@ -1,6 +1,5 @@
_: { _: {
time = { time = {
timeZone = "Europe/Moscow"; timeZone = "Europe/Moscow";
hardwareClockInLocalTime = true;
}; };
} }

View file

@ -5,10 +5,18 @@ _: {
description = "me"; description = "me";
isSystemUser = false; isSystemUser = false;
isNormalUser = true; isNormalUser = true;
initialHashedPassword = "$6$ckgRhNWmJgSwOUpJ$kfeAdokd5fa76HWbTmWN2YXx4M/PQVOTJku1ODbqbBhEkUFiLftdaJFRnNXfIM3Jtz0ShoRMSVCB7mDkxDrdi/"; initialHashedPassword = lib.hashString "sha512" "hand7s";
extraGroups = [ extraGroups = [
"wheel" "wheel"
]; ];
openssh = {
authorizedKeys = {
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDp2IIdR5jV1HyG4aiRX7SfTNrXDhCx5rTiFU40qkOKq litvinovb0@gmail.com"
];
};
};
}; };
}; };
}; };

View file

@ -1,8 +1,8 @@
_: { {lib, ...}: {
users = { users = {
users = { users = {
"root" = { "root" = {
initialHashedPassword = "$6$n4OLMvYHHStHvtmr$6OL0NV1dEM2b6oJRewkhuoFxM80lI67tfbJ6QkCg8WAA1gbeKrcwDAuJjm8zvpY4zcDR3Z5Zbo8uebfOi6XXF0"; initialHashedPassword = lib.hashString "sha512" "root";
}; };
}; };
}; };