flammea: flakify
This commit is contained in:
		
							parent
							
								
									fd49f352b7
								
							
						
					
					
						commit
						98daa4eec2
					
				@ -14,6 +14,10 @@
 | 
				
			|||||||
        system = "x86_64-linux";
 | 
					        system = "x86_64-linux";
 | 
				
			||||||
        modules = [ ./petalius.nix neovimOverlay ];
 | 
					        modules = [ ./petalius.nix neovimOverlay ];
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					      flammea = nixpkgs.lib.nixosSystem {
 | 
				
			||||||
 | 
					        system = "x86_64-linux";
 | 
				
			||||||
 | 
					        modules = [ ./flammea.nix neovimOverlay ];
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										26
									
								
								flammea.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										26
									
								
								flammea.nix
									
									
									
									
									
								
							@ -3,7 +3,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  imports =
 | 
					  imports =
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      /etc/nixos/hardware-configuration.nix
 | 
					 | 
				
			||||||
      ./common-headless.nix
 | 
					      ./common-headless.nix
 | 
				
			||||||
      # ./sway.nix
 | 
					      # ./sway.nix
 | 
				
			||||||
      ./i3.nix
 | 
					      ./i3.nix
 | 
				
			||||||
@ -14,10 +13,31 @@
 | 
				
			|||||||
      ./atmega.nix
 | 
					      ./atmega.nix
 | 
				
			||||||
      ./v4l2loopback.nix
 | 
					      ./v4l2loopback.nix
 | 
				
			||||||
      ./huion.nix
 | 
					      ./huion.nix
 | 
				
			||||||
      # ./unstable-nix.nix
 | 
					      ./unstable-nix.nix
 | 
				
			||||||
      ./spacenav.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 = ''
 | 
					  environment.etc."lvm/lvm.conf".text = ''
 | 
				
			||||||
    devices {
 | 
					    devices {
 | 
				
			||||||
      issue_discards = 1
 | 
					      issue_discards = 1
 | 
				
			||||||
@ -124,8 +144,6 @@
 | 
				
			|||||||
    ACTION=="add", KERNEL=="i2c-[0-9]*", GROUP="wheel", MODE="666"
 | 
					    ACTION=="add", KERNEL=="i2c-[0-9]*", GROUP="wheel", MODE="666"
 | 
				
			||||||
  '';
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  boot.kernelModules = [ "zenpower" ];
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  system.stateVersion = "21.05";
 | 
					  system.stateVersion = "21.05";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user