hoe manager

This commit is contained in:
martyTF 2025-12-17 15:51:20 +01:00
parent bfbc64b611
commit f266f8a8ee
14 changed files with 154 additions and 29 deletions

View file

@ -3,6 +3,7 @@
lib,
pkgs,
modulesPath,
home-manager,
...
}:
@ -11,30 +12,47 @@
hostName = "marty-latitude";
};
# PREVIOUSLY HARDWARE-CONFIGURATION.NIX
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
# users = {
# marty = ./nixos/modules/home.nix;
# };
};
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
# PREVIOUSLY HARDWARE-CONFIGURATION.NIX
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/757b8bfc-0b5d-4ec1-9ab7-7876848ae411";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/757b8bfc-0b5d-4ec1-9ab7-7876848ae411";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C8A8-A568";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/a1838708-fb00-4ecb-8010-432d06182591"; }
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C8A8-A568";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/a1838708-fb00-4ecb-8010-432d06182591"; }
];
# 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