aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/hardware-configuration.nix13
-rw-r--r--hosts/common/optional/ebooks.nix8
2 files changed, 15 insertions, 6 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;
diff --git a/hosts/common/optional/ebooks.nix b/hosts/common/optional/ebooks.nix
index 23706a2..7eba96c 100644
--- a/hosts/common/optional/ebooks.nix
+++ b/hosts/common/optional/ebooks.nix
@@ -1,8 +1,8 @@
-{ pkgs, pkgs-stable, ... }:
+{ pkgs, ... }:
{
- environment.systemPackages = [
- pkgs.libgourou
- pkgs-stable.calibre
+ environment.systemPackages = with pkgs; [
+ libgourou
+ stable.calibre
];
services.udisks2.enable = true;