Fix Sif drivers + hyprland

This commit is contained in:
Filippo Berto 2024-11-21 20:04:49 +01:00
parent 98a12318de
commit 43a1ed665a
5 changed files with 43 additions and 19 deletions

View file

@ -1,7 +1,11 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, modulesPath, ... }:
{ config
, lib
, modulesPath
, ...
}:
{
imports = [
@ -9,7 +13,13 @@
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
@ -17,24 +27,27 @@
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/6a17608f-cf0e-4fb4-ae73-c38569fc0577";
device = "/dev/disk/by-uuid/80a5d8d9-c083-43cf-b7f9-8afdbc26628e";
fsType = "btrfs";
options = [ "subvol=@root" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/6a17608f-cf0e-4fb4-ae73-c38569fc0577";
device = "/dev/disk/by-uuid/80a5d8d9-c083-43cf-b7f9-8afdbc26628e";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
"/home" = {
device = "/dev/disk/by-uuid/6a17608f-cf0e-4fb4-ae73-c38569fc0577";
device = "/dev/disk/by-uuid/80a5d8d9-c083-43cf-b7f9-8afdbc26628e";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/5BD2-463F";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
options = [
"fmask=0022"
"dmask=0022"
];
};
};