forked from pub-solar/os
30 lines
520 B
Nix
30 lines
520 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in
|
|
{
|
|
imports = [
|
|
./configuration.nix
|
|
];
|
|
|
|
config = {
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
pub-solar.core.disk-encryption-active = false;
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "${psCfg.user.name}" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|