From 14f32685244f61769bf4000d351d5ac99064de34 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Mon, 2 Oct 2023 19:30:34 +0100 Subject: [PATCH] feat(alex): more stuff to get alex installed --- common/generic-grub.nix | 5 +++++ common/generic.nix | 2 ++ hosts/alex/configuration.nix | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 common/generic-grub.nix diff --git a/common/generic-grub.nix b/common/generic-grub.nix new file mode 100644 index 0000000..ef6e5bf --- /dev/null +++ b/common/generic-grub.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: { + boot.loader.grub.enable = true; + boot.loader.grub.device = "/dev/sda"; + boot.loader.grub.useOSProber = true; +} diff --git a/common/generic.nix b/common/generic.nix index b9371fa..5ddc4f8 100644 --- a/common/generic.nix +++ b/common/generic.nix @@ -1,6 +1,8 @@ { pkgs, ... }: rec { imports = [ ]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + boot.tmp.cleanOnBoot = true; nix.settings.auto-optimise-store = true; diff --git a/hosts/alex/configuration.nix b/hosts/alex/configuration.nix index b88398a..6ff678f 100644 --- a/hosts/alex/configuration.nix +++ b/hosts/alex/configuration.nix @@ -28,6 +28,8 @@ services.printing.enable = true; + hardware.bluetooth.enable = true; + programs.steam.enable = true; nixpkgs.config.allowUnfree = true;