dustbowl: make swayidle a systemd service + run nixpkgs-fmt

This commit is contained in:
joachimschmidt557 2022-07-17 14:07:16 +02:00
parent 989e4f9555
commit 9757bf7ff6
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5
9 changed files with 41 additions and 31 deletions

View file

@ -1,4 +1,3 @@
# WARN: this file will get overwritten by $ cachix use <name>
{ pkgs, lib, ... }:
@ -7,7 +6,8 @@ let
toImport = name: value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key;
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {
in
{
inherit imports;
nix.settings.trusted-substituters = ["https://cache.nixos.org/"];
nix.settings.trusted-substituters = [ "https://cache.nixos.org/" ];
}