[NixOS] Add flake for adele
This commit is contained in:
parent
4e16364e40
commit
4b23384a1f
@ -62,6 +62,10 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [ forAll ./machines/ryzen-shine.nix ];
|
||||
};
|
||||
adele = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ forAll ./machines/adele.nix ];
|
||||
};
|
||||
biskcomp = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
modules = [ forAll piHardware ./machines/biskcomp.nix ];
|
||||
|
@ -4,15 +4,26 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
imports = [
|
||||
../full.nix
|
||||
../base.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "20.03";
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes ca-references
|
||||
'';
|
||||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
|
||||
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
|
||||
hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
@ -45,4 +56,6 @@
|
||||
latitude = 37.8104601;
|
||||
longitude = -122.2572529;
|
||||
};
|
||||
|
||||
system.stateVersion = "20.03";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user