From 1e35bc3d103544913cab7d4d68f3dab9ab21512a Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 7 Sep 2023 14:54:51 +0000 Subject: [PATCH] Use channels from flake inputs --- sets/base.nix | 8 +++++++- sets/packages.nix | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sets/base.nix b/sets/base.nix index f4a5c2c..372e2f4 100644 --- a/sets/base.nix +++ b/sets/base.nix @@ -1,7 +1,13 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, inputs, ... }: { + systemd.tmpfiles.rules = + lib.mapAttrsToList (key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") + inputs; + nix = { + nixPath = + [ "/etc/channels" "/nix/var/nix/profiles/per-user/root/channels" ]; settings.auto-optimise-store = true; extraOptions = '' experimental-features = nix-command flakes diff --git a/sets/packages.nix b/sets/packages.nix index 1357d6d..716e142 100644 --- a/sets/packages.nix +++ b/sets/packages.nix @@ -9,6 +9,7 @@ pavucontrol r128gain simple-scan + skanlite yt-dlp # Linux tools