mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 07:20:43 +00:00
Add optional system modules
This commit is contained in:
parent
58d9a3c908
commit
ae1c7b257e
6 changed files with 64 additions and 8 deletions
|
@ -3,9 +3,12 @@
|
|||
in {
|
||||
vboxnix = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
../system
|
||||
modules = [
|
||||
./vbox_nix
|
||||
../system
|
||||
../system/options/systemd-boot.nix
|
||||
../system/options/cachix.nix
|
||||
../system/options/oomd.nix
|
||||
../modules/services/ssh.nix
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
{lib, ...}:
|
||||
{ lib, pkgs, ...}:
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
timeout = 3;
|
||||
nix.settings = {
|
||||
max-jobs = 6;
|
||||
cores = 6;
|
||||
};
|
||||
|
||||
security.sudo.package = pkgs.sudo.override { withInsults = true; };
|
||||
security.polkit.enable = true;
|
||||
services = {
|
||||
udisks2.enable = true;
|
||||
};
|
||||
|
||||
networking.hostName = "vboxnix";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue