2023-07-02 10:28:50 +00:00
|
|
|
{ config, pkgs, inputs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# security.polkit.enable = true;
|
|
|
|
# systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
|
|
|
# Unit.Description = "polkit-gnome-authentication-agent-1";
|
|
|
|
# Service = {
|
|
|
|
# Type = "simple";
|
|
|
|
# ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
|
|
|
# Restart = "on-failure";
|
|
|
|
# RestartSec = 1;
|
|
|
|
# TimeoutStopSec = 10;
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
|
2023-07-14 06:54:10 +00:00
|
|
|
services.printing.enable = true;
|
|
|
|
services.avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
|
2023-09-25 13:54:55 +00:00
|
|
|
services.pcscd.enable = true;
|
|
|
|
programs.gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
pinentryFlavor = "curses";
|
|
|
|
};
|
|
|
|
|
2023-07-05 08:23:31 +00:00
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
2023-07-02 10:28:50 +00:00
|
|
|
# Enable sound.
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.wget
|
|
|
|
pkgs.tmux
|
|
|
|
pkgs.git
|
|
|
|
pkgs.pciutils
|
|
|
|
pkgs.pinentry-curses
|
2023-07-07 18:54:06 +00:00
|
|
|
pkgs.pulseaudio
|
2023-07-02 10:28:50 +00:00
|
|
|
pkgs.xdg-desktop-portal
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
|
|
|
pkgs.xdg-desktop-portal-kde
|
|
|
|
inputs.devenv.packages.x86_64-linux.devenv
|
2023-07-07 18:54:06 +00:00
|
|
|
pkgs.gst_all_1.gstreamer
|
|
|
|
pkgs.gst_all_1.gst-plugins-base
|
|
|
|
pkgs.gst_all_1.gst-plugins-good
|
|
|
|
pkgs.gst_all_1.gst-plugins-bad
|
|
|
|
pkgs.gst_all_1.gst-plugins-ugly
|
2023-07-02 10:28:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
xdg.mime.enable = true;
|
|
|
|
xdg.mime.defaultApplications = {
|
|
|
|
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
|
|
|
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
|
|
|
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
|
|
|
"x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
|
|
|
|
"x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
|
|
|
|
};
|
|
|
|
}
|