Extract config related to Linux desktop machines
This commit is contained in:
parent
339a1d6853
commit
efecd38dbc
3 changed files with 67 additions and 60 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
git
|
||||
vim
|
||||
wget
|
||||
];
|
||||
|
||||
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue