fix:switch.sh&&mysql

This commit is contained in:
dichgrem
2025-12-04 18:47:47 +08:00
parent 608238846f
commit 8650ac8879
3 changed files with 7 additions and 9 deletions

View File

@@ -50,3 +50,5 @@ sleep 0.5
niri msg reload-layout >/dev/null 2>&1 || true
pkill swayosd-server
(swayosd-server &>/dev/null &)
pkill wl-gammarelay-rs
(wl-gammarelay-rs &>/dev/null &)

View File

@@ -14,7 +14,7 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/67e9d418-8f31-4af7-9178-ae9641099844";
{ device = "/dev/mapper/luks-6647cbcd-ed3a-4205-9a2c-78e337e2f3bf";
fsType = "xfs";
};
@@ -28,13 +28,6 @@
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.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -9,9 +9,12 @@ in
package = pkgs.mysql84;
};
systemd.services.mysql = {
enable = false;
};
environment.systemPackages = [
pkgs.dbeaver-bin
];
};
}