I dno what im oing

This commit is contained in:
ooks-io 2023-07-27 21:44:56 +12:00
parent a1780e0f07
commit 7168e4c0c7
35 changed files with 120 additions and 16 deletions

View file

@ -1,9 +0,0 @@
{ pkgs, ... }
{
# Fonts
font.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];

View file

@ -46,10 +46,6 @@
nixpkgs.system = "x86_64-linux";
# Allow Unfree
# -------------------------------------------------------------------------------------------------
nixpkgs.config.allowUnfree = true;
# Networking
# -------------------------------------------------------------------------------------------------

View file

View file

@ -0,0 +1,46 @@
{ config, pkgs, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
security = {
rtkit = {
enable = true;
};
polkit = {
enable = true;
};
sudo = {
enable = true;
extraConfig = ''
ooks ALL=(ALL) NOPASSWD:ALL
'';
}
};
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
}