toggle physics
This commit is contained in:
parent
44a2f3ee01
commit
e13ad6a8ee
13 changed files with 79 additions and 112 deletions
74
hosts/marty-pc.nix
Normal file
74
hosts/marty-pc.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
home-manager,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
networking = {
|
||||
hostName = "marty-pc";
|
||||
interfaces = {
|
||||
enp42s0 = {
|
||||
wakeOnLan = {
|
||||
enable = true;
|
||||
policy = [ "magic" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users = {
|
||||
marty = import ./../modules/home.nix;
|
||||
};
|
||||
};
|
||||
|
||||
# PREVIOUSLY HARDWARE-CONFIGURATION.NIX
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/a26cdc8b-abc9-47cf-ad33-c81e56e56d22";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/C9B2-7254";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
fileSystems = {
|
||||
"/mnt/SSD" = {
|
||||
device = "/dev/disk/by-uuid/af5282f0-0e02-4532-902f-97509af70d11";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/mnt/HDD" = {
|
||||
device = "/dev/disk/by-uuid/41e7ec41-2e43-4254-9f00-f4be98cddc6e";
|
||||
fsType = "ext4";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue