This commit is contained in:
nx2
2024-03-06 14:34:29 +01:00
parent 6e3d9237e7
commit 5e1c0866cd
3 changed files with 13 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # 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`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, allowed, ... }: { config, lib, pkgs, allowed, secrets, ... }:
{ {
imports = imports =
@@ -60,7 +60,14 @@
#hardware.pulseaudio.enable = true; #hardware.pulseaudio.enable = true;
# rtkit is optional but recommended # rtkit is optional but recommended
security.rtkit.enable = true; security = {
rtkit.enable = true;
pki.certificates = [
secrets.easyroamCa
];
};
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;

View File

@@ -22,7 +22,8 @@
"electron-25.9.0" "electron-25.9.0"
]; ];
}; };
secrets = import ./secrets/passwords-and-certificates.nix; # secrets = import ./secrets/passwords-and-certificates.nix;
secrets.easyroamCa = "NOPE";
in in
{ {
nixosConfigurations = { nixosConfigurations = {

View File

@@ -24,7 +24,7 @@
permittedInsecurePackages = allowed.inecure-packages; permittedInsecurePackages = allowed.inecure-packages;
}; };
security.pki.certificates = secrets.easyroamCa;
home.packages = with pkgs; [ home.packages = with pkgs; [
firefox chromium firefox chromium
@@ -63,7 +63,7 @@
"x-scheme-handler/about" = [ "firefox.desktop" ]; "x-scheme-handler/about" = [ "firefox.desktop" ];
"x-scheme-handler/unknown" = [ "firefox.desktop" ]; "x-scheme-handler/unknown" = [ "firefox.desktop" ];
"image/png" = "imv.desktop"; "image/png" = "imv.desktop";
"image/gif" = "feh.desktop"; "image/gif" = "imv.desktop";
}; };
}; };