From db9ec77114e77b961b8b5a0973d1969ebc6ead09 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 6 Dec 2024 08:22:35 -0600 Subject: [PATCH] HTPC updates --- modules/nixos/default.nix | 22 +++++++++++++++++++++- nixos/foxtrot.nix | 9 +++++++++ nixos/htpc.nix | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 4f701e6..6e381bf 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -1014,7 +1014,26 @@ wifi = {lib, ...}: let inherit (lib) mkDefault; in { - networking.networkmanager.enable = mkDefault true; + networking.networkmanager = { + enable = mkDefault true; + # ensureProfiles = { + # profiles = { + # home-wifi = { + # id="home-wifi"; + # permissions = ""; + # type = "wifi"; + # }; + # wifi = { + # ssid = ""; + # }; + # wifi-security = { + # # auth-alg = ""; + # # key-mgmt = ""; + # psk = ""; + # }; + # }; + # }; + }; systemd.services.NetworkManager-wait-online.enable = mkDefault false; /* @@ -1199,6 +1218,7 @@ environment.TMPDIR = "/var/tmp"; }; boot.tmp.cleanOnBoot = true; + # boot.uki.tries = 3; # services.irqbalance.enable = true; # this is not ready for primetime yet diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 9a48d1d..f550160 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -266,6 +266,7 @@ in environment = { systemPackages = with pkgs; [ + easyeffects godot_4 fractal prismlauncher @@ -285,6 +286,14 @@ in }; }; + services.easyeffects = { + enable = true; + preset = "philonmetal"; + # clone from https://github.com/ceiphr/ee-framework-presets + # then `cp *.json ~/.config/easyeffects/output` + # TODO: nixify this + }; + wayland.windowManager.hyprland = { settings = { env = [ diff --git a/nixos/htpc.nix b/nixos/htpc.nix index e07eaf1..f1b1025 100644 --- a/nixos/htpc.nix +++ b/nixos/htpc.nix @@ -1,4 +1,5 @@ { + pkgs, config, lib, ...