What a clusterfuck
This commit is contained in:
parent
91f88b8bb2
commit
f29273be22
221 changed files with 779 additions and 956 deletions
7
modules/system/programs/appimage/default.nix
Normal file
7
modules/system/programs/appimage/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.appimage = {
|
||||
enable = true;
|
||||
binfmt = true;
|
||||
};
|
||||
}
|
9
modules/system/programs/default.nix
Normal file
9
modules/system/programs/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./appimage
|
||||
./gaming
|
||||
./git
|
||||
./security
|
||||
];
|
||||
}
|
9
modules/system/programs/gaming/default.nix
Normal file
9
modules/system/programs/gaming/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
settings.general.renice = 10;
|
||||
};
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
}
|
11
modules/system/programs/git/default.nix
Normal file
11
modules/system/programs/git/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./gpg
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
};
|
||||
}
|
11
modules/system/programs/git/gpg/default.nix
Normal file
11
modules/system/programs/git/gpg/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git-crypt
|
||||
];
|
||||
}
|
4
modules/system/programs/security/apparmor/default.nix
Normal file
4
modules/system/programs/security/apparmor/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
security.apparmor.enable = true;
|
||||
}
|
9
modules/system/programs/security/default.nix
Normal file
9
modules/system/programs/security/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./apparmor
|
||||
./doas
|
||||
./gnome-keyring
|
||||
./polkit
|
||||
];
|
||||
}
|
16
modules/system/programs/security/doas/default.nix
Normal file
16
modules/system/programs/security/doas/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
{
|
||||
security = {
|
||||
sudo.enable = false;
|
||||
doas = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{ # Give wheel root access
|
||||
groups = ["wheel"];
|
||||
keepEnv = true;
|
||||
persist = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
}
|
7
modules/system/programs/security/polkit/default.nix
Normal file
7
modules/system/programs/security/polkit/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
security = {
|
||||
polkit.enable = true;
|
||||
rtkit.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue