aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
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
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 '')
-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;