nixdots/hosts/vbox_nix/default.nix

41 lines
870 B
Nix
Raw Normal View History

2024-03-21 20:47:25 +00:00
{ lib, pkgs, ... }:
2024-02-24 21:24:22 +00:00
{
imports = [ ./hardware-configuration.nix ];
2024-03-19 07:30:04 +00:00
nix.settings = {
max-jobs = 6;
cores = 6;
};
security.sudo.package = pkgs.sudo.override { withInsults = true; };
security.polkit.enable = true;
services = {
udisks2.enable = true;
2024-02-24 21:24:22 +00:00
};
# 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";
2024-03-21 20:47:25 +00:00
myOptions = {
system = {
hostname = "vboxnix";
username = "itsdrike";
};
device = {
2024-03-23 20:35:29 +00:00
virtual-machine = true;
cpu.type = "amd";
2024-03-21 20:47:25 +00:00
};
2024-03-23 22:06:58 +00:00
home-manager = {
2024-04-07 14:54:36 +00:00
enable = true;
2024-03-23 22:06:58 +00:00
stateVersion = "23.11";
2024-04-05 00:03:22 +00:00
git = {
userName = "ItsDrike";
userEmail = "itsdrike@protonmail.com";
signing.key = "FA2745890B7048C0";
};
2024-03-23 22:06:58 +00:00
};
2024-03-21 20:47:25 +00:00
};
2024-02-24 21:24:22 +00:00
}