This commit is contained in:
2026-06-14 05:05:20 +09:00
parent 94ee38f935
commit 51a9e3e675
3 changed files with 4 additions and 21 deletions
+2
View File
@@ -12,6 +12,8 @@ let
]; ];
in in
{ {
disko.enableConfig = true;
disko.devices.disk = { disko.devices.disk = {
esp = { esp = {
type = "disk"; type = "disk";
-19
View File
@@ -24,28 +24,9 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/29b4b68d-c25e-48b1-beb3-30f63ac2f491";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/EA69-77EE";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ]; swapDevices = [ ];
# 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.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+2 -2
View File
@@ -1,10 +1,10 @@
{ inputs, ... }: { inputs, lib, ... }:
{ {
imports = [ imports = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
]; ];
config = { config = {
disko.enableConfig = true; disko.enableConfig = lib.mkDefault false;
}; };
} }