porthos: move files into 'machines' directory
But keep 'porthos.nix' at the root of the repository. I feel like it is cleaner to keep device specific files at the root.
This commit is contained in:
parent
f5d0118fab
commit
866225393b
7 changed files with 1 additions and 1 deletions
19
machines/porthos/hardware.nix
Normal file
19
machines/porthos/hardware.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Hardware configuration
|
||||
{ lib, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/d89efc61-6b03-4190-b488-301c919e2431";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/1a261204-2e78-496f-8a8d-d29bfa770306"; }
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue