35 lines
564 B
Nix
35 lines
564 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
self,
|
|
...
|
|
}:
|
|
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;
|
|
pub-solar.core.lite = true;
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = ["${psCfg.user.name}"];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = ["NOPASSWD"];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|