Use channels from flake inputs

This commit is contained in:
Artemis Tosini 2023-09-07 14:54:51 +00:00
parent f4fc83d877
commit 1e35bc3d10
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 8 additions and 1 deletions

View file

@ -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

View file

@ -9,6 +9,7 @@
pavucontrol
r128gain
simple-scan
skanlite
yt-dlp
# Linux tools