mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 06:29:41 +00:00
37 lines
772 B
Nix
37 lines
772 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
nix.settings = {
|
|
max-jobs = 6;
|
|
cores = 6;
|
|
};
|
|
|
|
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
|
security.polkit.enable = true;
|
|
services = {
|
|
udisks2.enable = true;
|
|
};
|
|
|
|
# NixOS release from which this machine was first installed.
|
|
# (for stateful data, like file locations and db versions)
|
|
# Leave this alone!
|
|
system.stateVersion = lib.mkForce "23.11";
|
|
|
|
myOptions = {
|
|
system = {
|
|
hostname = "vboxnix";
|
|
username = "itsdrike";
|
|
};
|
|
device = {
|
|
virtual-machine = true;
|
|
cpu.type = "amd";
|
|
};
|
|
home-manager = {
|
|
enabled = true;
|
|
stateVersion = "23.11";
|
|
git.signing.key = "FA2745890B7048C0";
|
|
};
|
|
};
|
|
}
|