Add zfs support to redmond, update to wg-quick

This commit is contained in:
Jimbo 2024-12-22 17:26:45 -05:00
parent 06e1964f7d
commit d183a4dc32
5 changed files with 23 additions and 11 deletions

View file

@ -9,8 +9,10 @@
../../modules/system
];
networking.hostName = "envy";
networking.wg-quick.interfaces.wgc.address = [ "10.100.0.25/24" ];
networking = {
hostName = "envy";
wg-quick.interfaces.wgc.address = [ "10.100.0.25/24" ];
};
system = {
lanzaboote.enable = true;

View file

@ -1,6 +1,8 @@
# nixos-generate-config --root ./ --no-filesystems
{ config, lib, ... }:
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "sr_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];

View file

@ -2,7 +2,6 @@
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernel.sysctl."vm.max_map_count" = 2147483642;
kernelParams = [
"radeon.cik_support=0"
"amdgpu.cik_support=1"

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
{
imports = [
./boot
@ -8,10 +8,17 @@
../../modules/system
];
system.lanzaboote.enable = true;
networking = {
hostName = "redmond";
hostId = "ae713850";
wg-quick.interfaces.wgc.address = [ "10.100.0.23/24" ];
};
system.wireguard.client.enable = true;
networking.wireguard.interfaces.wgc.ips = [ "10.100.0.23/24" ];
system = {
lanzaboote.enable = true;
wireguard.client.enable = true;
stateVersion = "24.05";
};
networking.hostName = "redmond";
environment.sessionVariables.WLR_RENDERER = lib.mkForce "gles2";
}

View file

@ -1,6 +1,8 @@
{ config, lib, ... }:
# nixos-generate-config --root ./ --no-filesystems
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci" "rtsx_usb_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];