lavaridge: add disko

This commit is contained in:
Aly Raffauf 2024-05-01 22:12:13 -04:00
parent 58f0e83065
commit 57dd0caa2f
3 changed files with 2 additions and 12 deletions

View file

@ -82,6 +82,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
disko.nixosModules.disko
nixos-hardware.nixosModules.framework-13-7040-amd nixos-hardware.nixosModules.framework-13-7040-amd
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
./hosts/lavaridge ./hosts/lavaridge

View file

@ -9,6 +9,7 @@
imports = [ imports = [
./hardware-configuration.nix # Include the results of the hardware scan. ./hardware-configuration.nix # Include the results of the hardware scan.
./home.nix ./home.nix
./disko.nix
]; ];
boot = { boot = {

View file

@ -15,18 +15,6 @@
boot.kernelModules = ["kvm-amd" "amd-gpu"]; boot.kernelModules = ["kvm-amd" "amd-gpu"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/2a76d315-37f9-406d-b1b2-01fee209139a";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/7BC8-F615";
fsType = "vfat";
};
swapDevices = [];
hardware.opengl = { hardware.opengl = {
## radv: an open-source Vulkan driver from freedesktop ## radv: an open-source Vulkan driver from freedesktop
driSupport = true; driSupport = true;