aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/hardware-configuration.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-23 02:04:51 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-23 02:04:51 -0700
commitf95e8c631c1f45249b716c5cf106c891be7d6c24 (patch)
tree7f3774068918b504cd19bfe1a860a5f1245e520d /hosts/arrakis/hardware-configuration.nix
parentf03eaf57c08a9ee942e84666663458d7b437a408 (diff)
downloadnix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar.gz
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar.bz2
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar.lz
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar.xz
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.tar.zst
nix-f95e8c631c1f45249b716c5cf106c891be7d6c24.zip
Migrate to more standard flake template
Diffstat (limited to 'hosts/arrakis/hardware-configuration.nix')
-rw-r--r--hosts/arrakis/hardware-configuration.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix
index 92cbe02..6dc6542 100644
--- a/hosts/arrakis/hardware-configuration.nix
+++ b/hosts/arrakis/hardware-configuration.nix
@@ -1,7 +1,7 @@
# 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, inputs, lib, pkgs, modulesPath, ... }:
+{ config, inputs, lib, outputs, pkgs, modulesPath, ... }:
{
imports =
@@ -88,7 +88,16 @@
{ device = "/dev/disk/by-label/swap2"; }
];
- nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ];
+ nixpkgs = {
+ config.allowUnfree = true;
+ hostPlatform = "x86_64-linux";
+ overlays = [
+ inputs.nvidia-patch.overlays.default
+ outputs.overlays.additions
+ outputs.overlays.modifications
+ outputs.overlays.stable-packages
+ ];
+ };
hardware = {
bluetooth.enable = true;