i did something but i forgot
This commit is contained in:
parent
4e6480d9a0
commit
d4df25abdf
27 changed files with 45 additions and 26 deletions
27
nix/hosts/hilbert/configuration.nix
Normal file
27
nix/hosts/hilbert/configuration.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../../modules/kanata/kanata.nix
|
||||
../../modules/efi.nix
|
||||
../../modules/laptop.nix
|
||||
../../modules/hypr.nix
|
||||
../../modules/virt.nix
|
||||
];
|
||||
|
||||
fileSystems."/media/music" = {
|
||||
device = "/dev/disk/by-uuid/dcd8c4de-96af-4d71-badb-5ed63b7c2c39";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/media/vm" = {
|
||||
device = "/dev/disk/by-uuid/9678bbf2-bf4d-43bb-b0e4-d7cb68915da1";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
networking.hostName = "hilbert";
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
41
nix/hosts/hilbert/hardware-configuration.nix
Normal file
41
nix/hosts/hilbert/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/28c806ac-9082-40fc-8bd3-da38f4c12ae5";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/12CE-A600";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/44fbfcf1-382f-4224-ae4c-60c3379f2daf"; }
|
||||
];
|
||||
|
||||
# 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
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue