Compare commits

..

2 commits

Author SHA1 Message Date
GaspardCulis
08e019192d nix: Update flake.lock 2024-09-20 12:57:11 +00:00
GaspardCulis
9fe9cc09c5 Zephyrus: Fix hardware-config missing grub device 2024-09-20 12:56:27 +00:00
2 changed files with 38 additions and 5 deletions

View file

@ -37,6 +37,27 @@
"type": "github" "type": "github"
} }
}, },
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1690751248,
"narHash": "sha256-al5+aqPKL2VtCnuMccafyl4hQqZn+xIaG7vLuhGWfvE=",
"owner": "nix-community",
"repo": "disko",
"rev": "67c4508ce9a778f429a5af3571f49733fd3e8a05",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "make-disk-image",
"repo": "disko",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -284,6 +305,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"disko": "disko",
"home-manager": "home-manager", "home-manager": "home-manager",
"hy3": "hy3", "hy3": "hy3",
"hyprland": [ "hyprland": [

View file

@ -4,7 +4,6 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }: {
@ -13,10 +12,22 @@
./disko-config.nix ./disko-config.nix
]; ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"]; boot = {
boot.initrd.kernelModules = []; kernelModules = ["kvm-amd"];
boot.kernelModules = ["kvm-amd"]; extraModulePackages = [];
boot.extraModulePackages = []; initrd = {
availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
kernelModules = [];
};
loader = {
efi.canTouchEfiVariables = true;
grub = {
enable = true;
device = "nodev";
efiSupport = true;
};
};
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's