This commit is contained in:
2026-07-04 05:01:54 +02:00
parent 524ee6e1ce
commit 12f0b1e422
116 changed files with 1355 additions and 231 deletions
+34
View File
@@ -0,0 +1,34 @@
{ config, pkgs, ... }:
{
boot = {
initrd = {
luks = {
devices."luks-d810fef7-b1c9-4007-bcb1-12c99c8692b0".device = "/dev/disk/by-uuid/d810fef7-b1c9-4007-bcb1-12c99c8692b0";
};
};
extraModulePackages = with config.boot.kernelPackages; [ ];
kernelParams = [ "debug" ];
loader = {
efi = {
# canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
enable = true;
copyKernels = true;
efiInstallAsRemovable = true;
enableCryptodisk = false;
efiSupport = true;
devices = [ "nodev" ];
extraEntries = ''
menuentry "Reboot" {
reboot
}
menuentry "Poweroff" {
halt
}
'';
};
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
imports =
[
./boot.nix
./networking.nix
./pkgs.nix
./irc.nix
];
}
+25
View File
@@ -0,0 +1,25 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [weechat];
services = {
weechat = {
enable = true;
};
tor = {
enable = true;
controlSocket.enable = true;
client = {
enable = true;
socksListenAddress = {
addr = "127.0.0.1";
port = 9050;
};
};
settings = {
MapAddress = "palladium.libera.chat libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion";
ControlPort = [ 9051 ];
};
};
};
}
+22
View File
@@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [ wireguard-tools ];
services = {
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
};
networking = {
networkmanager = {
enable = true;
};
firewall = {
enable = false;
checkReversePath = false;
allowedTCPPorts = [];
allowedUDPPorts = [];
};
};
}
+4 -5
View File
@@ -2,17 +2,16 @@
{
imports =
[
./hardware-configuration.nix
../../modules/default.nix
./hardware-configuration.nix
./config/default.nix
../../config/default/default.nix
../../config/desktop/default.nix
];
networking.hostName = "molniya";
boot.initrd.luks.devices."luks-9cd65807-a47b-4ffe-ac11-05680b9fffb0".device = "/dev/disk/by-uuid/9cd65807-a47b-4ffe-ac11-05680b9fffb0";
time.timeZone = "Europe/Berlin";
services.openssh.enable = true;