mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: change uuids
This commit is contained in:
parent
2b440bbde3
commit
abe369ba0a
2 changed files with 13 additions and 14 deletions
|
@ -33,22 +33,21 @@
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "tmpfs";
|
device = "rpool/root/nixos";
|
||||||
fsType = "tmpfs";
|
fsType = "zfs";
|
||||||
options = ["defaults" "noatime" "size=20%" "mode=755"];
|
options = ["zfsutil" "X-mount.mkdir"];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/FDA7-5E38";
|
device = "/dev/disk/by-uuid/91ED-0E13";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
"/nix" = {
|
|
||||||
device = "/dev/disk/by-uuid/4610a590-b6b8-4a8f-82a3-9ec7592911eb";
|
|
||||||
fsType = "ext4";
|
|
||||||
options = ["defaults" "noatime"];
|
|
||||||
neededForBoot = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{device = "/dev/disk/by-uuid/1122527a-71d3-4ec7-8d41-65d0c8494b04";}
|
||||||
|
];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
|
@ -62,7 +61,7 @@
|
||||||
wireless.iwd.enable = true;
|
wireless.iwd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "performance";
|
powerManagement.cpuFreqGovernor = "powersave";
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
@ -72,13 +71,13 @@
|
||||||
systemd.network.networks = {
|
systemd.network.networks = {
|
||||||
wired = {
|
wired = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
matchConfig.MACAddress = "1c:83:41:30:ab:9b";
|
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||||
dhcpV4Config.RouteMetric = 10;
|
dhcpV4Config.RouteMetric = 10;
|
||||||
dhcpV6Config.RouteMetric = 10;
|
dhcpV6Config.RouteMetric = 10;
|
||||||
};
|
};
|
||||||
wireless = {
|
wireless = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
matchConfig.MACAddress = "60:dd:8e:12:67:bd";
|
matchConfig.MACAddress = "00:00:00:00:00:00";
|
||||||
dhcpV4Config.RouteMetric = 40;
|
dhcpV4Config.RouteMetric = 40;
|
||||||
dhcpV6Config.RouteMetric = 40;
|
dhcpV6Config.RouteMetric = 40;
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
autoRollback = false;
|
autoRollback = false;
|
||||||
magicRollback = true;
|
magicRollback = false;
|
||||||
sshUser = "root";
|
sshUser = "root";
|
||||||
user = "root";
|
user = "root";
|
||||||
sudo = "runuser -u";
|
sudo = "runuser -u";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue