Add zfs support to redmond, update to wg-quick
This commit is contained in:
parent
06e1964f7d
commit
d183a4dc32
|
@ -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;
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue