ly instead of lightdm coz laptop no like lightdm

This commit is contained in:
mrfluffy-dev
2025-06-17 23:34:24 +01:00
parent 040bc459a4
commit 9d0cacfb4b
2 changed files with 32 additions and 25 deletions

View File

@@ -68,17 +68,29 @@ in
variant = ""; variant = "";
}; };
enable = true; enable = true;
displayManager.lightdm = { #displayManager.lightdm = {
enable = true; # enable = true;
greeters.gtk = { # greeters.gtk = {
enable = true; # enable = true;
theme.package = pkgs.amarena-theme; # theme.package = pkgs.amarena-theme;
theme.name = "amarena"; # theme.name = "amarena";
cursorTheme.package = oreo.override { colors = [ "oreo_spark_pink_cursors" ]; }; # cursorTheme.package = oreo.override { colors = [ "oreo_spark_pink_cursors" ]; };
cursorTheme.name = "oreo_spark_pink_cursors"; # cursorTheme.name = "oreo_spark_pink_cursors";
extraConfig = "background=${./assets/Wallpapers/138.png}"; # extraConfig = "background=${./assets/Wallpapers/138.png}";
}; # };
}; #};
};
services.displayManager.ly = {
enable = true;
#greeters.gtk = {
# enable = true;
# theme.package = pkgs.amarena-theme;
# theme.name = "amarena";
# cursorTheme.package = oreo.override { colors = [ "oreo_spark_pink_cursors" ]; };
# cursorTheme.name = "oreo_spark_pink_cursors";
# extraConfig = "background=${./assets/Wallpapers/138.png}";
#};
}; };
security.rtkit.enable = true; security.rtkit.enable = true;

View File

@@ -8,28 +8,24 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/fdcbb840-4b35-4023-a048-599b0c5161d6"; { device = "/dev/disk/by-uuid/6aa7c67d-a0a5-4928-b16b-9c7991fee7ab";
fsType = "btrfs"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E1B6-9089"; { device = "/dev/disk/by-uuid/A4F3-8038";
fsType = "vfat"; fsType = "vfat";
}; options = [ "fmask=0077" "dmask=0077" ];
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/d226a8ed-10eb-452e-9284-1ff994a7f179";
fsType = "btrfs";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/ccf41b96-c45f-47e0-8541-cd865f5d2ec6"; } [ { device = "/dev/disk/by-uuid/b416c3bd-861b-4b0c-aa84-6962b2e6a47d"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@@ -37,9 +33,8 @@
# still possible to use this option, but it's recommended to use it in conjunction # 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`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp4s0f0u8.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }