diff options
Diffstat (limited to 'nix/systems/spontaneity')
-rw-r--r-- | nix/systems/spontaneity/default.nix | 1 | ||||
-rw-r--r-- | nix/systems/spontaneity/hardware-configuration.nix | 23 | ||||
-rw-r--r-- | nix/systems/spontaneity/home.nix | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/nix/systems/spontaneity/default.nix b/nix/systems/spontaneity/default.nix index 5f79855..ae79429 100644 --- a/nix/systems/spontaneity/default.nix +++ b/nix/systems/spontaneity/default.nix @@ -10,6 +10,7 @@ profiles = { server.enable = true; ttyonly.enable = true; + grub.enable = true; }; vars.hostName = "spontaneity"; }; diff --git a/nix/systems/spontaneity/hardware-configuration.nix b/nix/systems/spontaneity/hardware-configuration.nix new file mode 100644 index 0000000..050ed23 --- /dev/null +++ b/nix/systems/spontaneity/hardware-configuration.nix @@ -0,0 +1,23 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = [ ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.ens3.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + virtualisation.hypervGuest.enable = true; +} diff --git a/nix/systems/spontaneity/home.nix b/nix/systems/spontaneity/home.nix index 276ba52..cc93b5d 100644 --- a/nix/systems/spontaneity/home.nix +++ b/nix/systems/spontaneity/home.nix @@ -3,4 +3,5 @@ imports = [ ../../modules/home/default.nix ]; + config.monorepo.profiles.enable = false; } |