machines: rename to 'hosts/nixos'

This will be more consistent in the future if I want to introduce darwin
or home-manager configurations.
This commit is contained in:
Bruno BELANYI 2023-03-09 09:11:12 +00:00
parent eac628963a
commit 2fb3d0f9cf
20 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,19 @@
# Hardware configuration
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}