2024-09-27 23:13:34 +03:00
|
|
|
{ lib, pkgs, ... }:
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ./common.nix ];
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Configs
|
|
|
|
################################################################################
|
|
|
|
local.nix.enableMyRegistry = lib.mkDefault true;
|
|
|
|
|
|
|
|
local.system.kernel = lib.mkDefault "stable";
|
|
|
|
|
2024-04-16 11:28:28 +03:00
|
|
|
local.keyboard.enable = lib.mkDefault true;
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
local.fonts.enable = lib.mkDefault true;
|
|
|
|
local.sound.enable = lib.mkDefault true;
|
|
|
|
|
2024-04-22 23:43:16 +03:00
|
|
|
local.window-manager.xmonad.enable = lib.mkDefault true;
|
2024-04-16 02:51:46 +03:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Services
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
local.services.collect-garbage = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
nix.nixShellProtection = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
|
|
|
|
local.services.gnupg.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
local.services.dnscrypt-proxy2.enable = true;
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Programs
|
|
|
|
################################################################################
|
|
|
|
local.programs.pass.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
local.programs.browsers.librewolf.enable = lib.mkDefault true;
|
2024-09-27 23:13:34 +03:00
|
|
|
|
|
|
|
security.sudo.extraRules = [{
|
|
|
|
commands = [
|
|
|
|
{
|
|
|
|
command = "/run/current-system/sw/bin/nixos-container";
|
|
|
|
options = [ "NOPASSWD" ];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
groups = [ "wheel" ];
|
|
|
|
}];
|
2024-04-16 02:51:46 +03:00
|
|
|
}
|