This commit is contained in:
Patrick Stevens
2024-10-21 22:41:31 +01:00
parent e60a954838
commit dbe797cf03
3 changed files with 15 additions and 3 deletions

View File

@@ -3,7 +3,16 @@
../hardware/earthworm.nix
];
hardware.asahi.peripheralFirmwareDirectory = ../firmware;
# hardware.asahi.peripheralFirmwareDirectory = "/etc/nixos/firmware";
hardware.asahi =
{
extractPeripheralFirmware = false;
useExperimentalGPUDriver = true;
experimentalGPUInstallMode = "driver";
setupAsahiSound = true;
withRust = true;
};
hardware.graphics.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
@@ -14,6 +23,7 @@
networking = {
hostName = "earthworm";
networkmanager.enable = true;
wireless.iwd = { enable = true; settings.General.EnableNetworkConfiguration = true; };
};
time.timeZone = "Europe/London";
@@ -31,6 +41,7 @@
environment.systemPackages = [
pkgs.vim
pkgs.wget
pkgs.mesa-asahi-edge
];
environment.loginShellInit = ''

View File

@@ -338,11 +338,12 @@
programs.firefox = {
enable = true;
package = nixpkgs.firefox-wayland;
profiles = {
patrick = {
isDefault = true;
name = "patrick";
search = {default = "Google";};
search = {default = "Google"; force = true;};
settings = {
# see https://github.com/TLATER/dotfiles/blob/b39af91fbd13d338559a05d69f56c5a97f8c905d/home-config/config/graphical-applications/firefox.nix
# see https://www.ghacks.net/2015/08/18/a-comprehensive-list-of-firefox-privacy-and-security-settings/

View File

@@ -4,7 +4,7 @@
dotnet,
...
}: {
home.packages = [nixpkgs.firefox-wayland nixpkgs.wl-clipboard nixpkgs.jetbrains.rider];
home.packages = [nixpkgs.wl-clipboard nixpkgs.jetbrains.rider];
nixpkgs.config.firefox = {
speechSynthesisSupport = true;
};