2022-08-13 16:08:27 +00:00
|
|
|
{ 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;
|
2022-08-13 17:03:04 +00:00
|
|
|
|
|
|
|
pub-solar.x-os.disk-encryption-active = false;
|
2022-08-13 18:15:22 +00:00
|
|
|
|
|
|
|
security.sudo.extraRules = [
|
|
|
|
{
|
|
|
|
users = [ "${psCfg.user.name}" ];
|
|
|
|
commands = [
|
|
|
|
{
|
|
|
|
command = "ALL";
|
|
|
|
options = [ "NOPASSWD" ];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
2022-08-13 16:08:27 +00:00
|
|
|
};
|
|
|
|
}
|