fix sound

This commit is contained in:
mjallen18
2024-06-07 23:48:23 -05:00
parent 466906c575
commit d76c294dce
4 changed files with 35 additions and 27 deletions

36
flake.lock generated
View File

@@ -54,11 +54,11 @@
"yafas": "yafas" "yafas": "yafas"
}, },
"locked": { "locked": {
"lastModified": 1717621462, "lastModified": 1717768958,
"narHash": "sha256-mXo0SRiedkQVZ9MOkWjT9PsIL7AOwjMlMu+KnTEiDZ8=", "narHash": "sha256-QMr+b1agCQ+eADJxOjROqsn/hx+dq41dn8Npt6GtPVU=",
"owner": "chaotic-cx", "owner": "chaotic-cx",
"repo": "nyx", "repo": "nyx",
"rev": "56929432c95bd3569adc36b478be5aa0c9b46254", "rev": "dddd825a5084628afe4d608b95081ccda2a1e4d0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -754,17 +754,17 @@
"rust-overlay": "rust-overlay_4" "rust-overlay": "rust-overlay_4"
}, },
"locked": { "locked": {
"lastModified": 1716699938, "lastModified": 1717784003,
"narHash": "sha256-AzTYm22tTDJy0tSqMDf95rmCxxoGTPClu0paGPeh5a0=", "narHash": "sha256-EDhb+3uFVCnfsF8DSPd1F2Arza84vQvlzh/OPSUHUjc=",
"owner": "tpwrules", "ref": "refs/heads/main",
"repo": "nixos-apple-silicon", "rev": "06fb62dd84841d1664a3a144d8877a956618401d",
"rev": "842306255856d7f5677c113e699101eb253e2e3f", "revCount": 457,
"type": "github" "type": "git",
"url": "file:///home/matt/nixos-apple-silicon"
}, },
"original": { "original": {
"owner": "tpwrules", "type": "git",
"repo": "nixos-apple-silicon", "url": "file:///home/matt/nixos-apple-silicon"
"type": "github"
} }
}, },
"nixos-hardware": { "nixos-hardware": {
@@ -785,11 +785,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1717196966, "lastModified": 1717602782,
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=", "narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8", "rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -833,11 +833,11 @@
}, },
"nixpkgs-stable_3": { "nixpkgs-stable_3": {
"locked": { "locked": {
"lastModified": 1717555607, "lastModified": 1717696253,
"narHash": "sha256-WZ1s48OODmRJ3DHC+I/DtM3tDRuRJlNqMvxvAPTD7ec=", "narHash": "sha256-1+ua0ggXlYYPLTmMl3YeYYsBXDSCqT+Gw3u6l4gvMhA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0b8e7a1ae5a94da2e1ee3f3030a32020f6254105", "rev": "9b5328b7f761a7bbdc0e332ac4cf076a3eedb89b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -35,7 +35,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
#Apple #Apple
nixos-apple-silicon.url = "github:tpwrules/nixos-apple-silicon"; nixos-apple-silicon.url = "git+file:///home/matt/nixos-apple-silicon";
nix-darwin.url = "github:LnL7/nix-darwin"; nix-darwin.url = "github:LnL7/nix-darwin";
}; };

View File

@@ -19,9 +19,13 @@
hardware.asahi.enable = true; hardware.asahi.enable = true;
hardware.asahi.useExperimentalGPUDriver = true; hardware.asahi.useExperimentalGPUDriver = true;
hardware.asahi.peripheralFirmwareDirectory = ./firmware; hardware.asahi.peripheralFirmwareDirectory = ./firmware;
hardware.asahi.setupAsahiSound = true;
sound.enable = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 3;
boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.canTouchEfiVariables = false;
apps.discover-wrapped.enable = true; apps.discover-wrapped.enable = true;
@@ -39,15 +43,11 @@
enable = true; enable = true;
desktopManager.gnome.enable = false; desktopManager.gnome.enable = false;
# Enable the Plasma 6 Desktop Environment. # Enable the Plasma 6 Desktop Environment.
displayManager = { displayManager.gdm.enable = false;
sddm.enable = true;
# defaultSession = "plasma";
gdm.enable = false;
};
}; };
displayManager.sddm.enable = true;
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
# enable auto discovery of printers # enable auto discovery of printers
@@ -75,11 +75,15 @@
#minecraft #minecraft
prismlauncher prismlauncher
#vmware-horizon-client #vmware-horizon-client
distrobox
podman
]; ];
}; };
programs.java.enable = true; programs.java.enable = true;
virtualisation.containers.enable = true;
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@@ -87,6 +91,10 @@
wget wget
]; ];
environment.sessionVariables = rec {
DBX_CONTAINER_MANAGER = "podman";
};
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix. # accidentally delete configuration.nix.

View File

@@ -30,7 +30,7 @@
programs.command-not-found.enable = true; programs.command-not-found.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
nixfmt nixfmt-rfc-style
deadnix deadnix
gnomeExtensions.dash-to-dock gnomeExtensions.dash-to-dock
gnomeExtensions.arcmenu gnomeExtensions.arcmenu