Extract config related to Linux desktop machines

This commit is contained in:
monologiq 2025-12-24 14:42:10 +01:00
parent 339a1d6853
commit efecd38dbc
3 changed files with 67 additions and 60 deletions

View file

@ -1,6 +1,66 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
let
sessionVariables = {
NIXOS_OZONE_WL = "1";
};
systemPackages = with pkgs; [
ddcutil
gsettings-desktop-schemas
libva-utils
sbctl
vdpauinfo
];
in
{
environment = {
inherit sessionVariables systemPackages;
etc = {
"1password/custom_allowed_browsers" = {
text = ''
firefox
brave
'';
mode = "0755";
};
};
};
hardware.bluetooth = {
settings = {
General.Experimental = true;
};
};
programs.dconf.enable = true;
security.polkit.enable = true;
programs._1password.enable = true;
programs._1password-gui = {
enable = true;
polkitPolicyOwners = [ "pml" ];
};
programs.niri.enable = true;
programs.regreet = {
font.name = "SF Pro";
font.size = 16;
font.package = pkgs.apple-fonts.sf-pro;
settings = {
GTK = {
font_name = lib.mkForce "SF Pro 16";
};
};
};
security.rtkit.enable = true;
services.pipewire = {
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}