dustbowl: make swayidle a systemd service + run nixpkgs-fmt
This commit is contained in:
parent
989e4f9555
commit
9757bf7ff6
9 changed files with 41 additions and 31 deletions
|
|
@ -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/" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue