From 5e1c0866cd25a5237d3fa1b28b676edd8721c3c6 Mon Sep 17 00:00:00 2001 From: nx2 Date: Wed, 6 Mar 2024 14:34:29 +0100 Subject: [PATCH] progrss? --- configuration.nix | 11 +++++++++-- flake.nix | 3 ++- home.nix | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7e4a605..593d515 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, allowed, ... }: +{ config, lib, pkgs, allowed, secrets, ... }: { imports = @@ -60,7 +60,14 @@ #hardware.pulseaudio.enable = true; # rtkit is optional but recommended - security.rtkit.enable = true; + security = { + rtkit.enable = true; + pki.certificates = [ + secrets.easyroamCa + ]; + }; + + services.pipewire = { enable = true; alsa.enable = true; diff --git a/flake.nix b/flake.nix index caf4b32..2a7fe9a 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,8 @@ "electron-25.9.0" ]; }; - secrets = import ./secrets/passwords-and-certificates.nix; + # secrets = import ./secrets/passwords-and-certificates.nix; + secrets.easyroamCa = "NOPE"; in { nixosConfigurations = { diff --git a/home.nix b/home.nix index c322f2a..7abf108 100644 --- a/home.nix +++ b/home.nix @@ -24,7 +24,7 @@ permittedInsecurePackages = allowed.inecure-packages; }; - security.pki.certificates = secrets.easyroamCa; + home.packages = with pkgs; [ firefox chromium @@ -63,7 +63,7 @@ "x-scheme-handler/about" = [ "firefox.desktop" ]; "x-scheme-handler/unknown" = [ "firefox.desktop" ]; "image/png" = "imv.desktop"; - "image/gif" = "feh.desktop"; + "image/gif" = "imv.desktop"; }; };