flammea: flakify

This commit is contained in:
Gabriel Ebner 2021-05-22 19:24:11 +02:00
parent fd49f352b7
commit 98daa4eec2
2 changed files with 26 additions and 4 deletions

@ -14,6 +14,10 @@
system = "x86_64-linux";
modules = [ ./petalius.nix neovimOverlay ];
};
flammea = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./flammea.nix neovimOverlay ];
};
};
};
}

@ -3,7 +3,6 @@
{
imports =
[
/etc/nixos/hardware-configuration.nix
./common-headless.nix
# ./sway.nix
./i3.nix
@ -14,10 +13,31 @@
./atmega.nix
./v4l2loopback.nix
./huion.nix
# ./unstable-nix.nix
./unstable-nix.nix
./spacenav.nix
];
hardware.enableRedistributableFirmware = true;
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [
"kvm-amd"
"zenpower"
];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3b8c5c8a-fff2-49ba-98bd-ceb01d6d57c3";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1FA2-93AB";
fsType = "vfat";
};
swapDevices = [ ];
environment.etc."lvm/lvm.conf".text = ''
devices {
issue_discards = 1
@ -124,8 +144,6 @@
ACTION=="add", KERNEL=="i2c-[0-9]*", GROUP="wheel", MODE="666"
'';
boot.kernelModules = [ "zenpower" ];
system.stateVersion = "21.05";
}