feat: NixOS | switch to unstable and update flake.lock

This commit is contained in:
2025-02-02 18:12:20 +05:00
parent fbc3bf7f3e
commit 3773c115ac
4 changed files with 123 additions and 72 deletions

View File

@@ -22,10 +22,6 @@ in
};
};
# Bluetooth.
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
networking.hostName = hostname; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -98,8 +94,6 @@ in
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
sound.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
@@ -116,9 +110,14 @@ in
RUN+="${pkgs.systemd}/bin/loginctl lock-sessions"
'';
services.pulseaudio.enable = false;
# Enable sound with pipewire.
hardware = {
pulseaudio.enable = false;
# Bluetooth.
bluetooth.enable = true;
bluetooth.powerOnBoot = true;
graphics = {
enable = true;
extraPackages = with pkgs; [ amdvlk ];