more sanely split things
This commit is contained in:
parent
dd9c0eeff6
commit
c2796dcfb9
7 changed files with 118 additions and 97 deletions
9
hosts/default.nix
Normal file
9
hosts/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
{config, pkg, home-manager, ...}:
|
||||
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
22
hosts/lappy/default.nix
Normal file
22
hosts/lappy/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
system.nixos.tags = [ "Nya_Beginnings" ];
|
||||
|
||||
networking.hostName = "stitchynyan";
|
||||
networking.networkmanager.enable = true;
|
||||
time.timeZone = "America/Lost_Angeles";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
26
hosts/lappy/hardware-configuration.nix
Normal file
26
hosts/lappy/hardware-configuration.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d626409d-8166-45c2-a168-09dfab31b8a4";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@nix-root" ];
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luksdev".device = "/dev/disk/by-uuid/100a5596-671b-48ba-a1d1-0723559baf87";
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue