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

View File

@@ -35,7 +35,7 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
#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";
};

View File

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

View File

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