project-wide: nixdirfmt

This commit is contained in:
kat witch 2021-04-28 22:36:36 +01:00
parent ed5eb10d0e
commit 19ba7b13c0
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
6 changed files with 78 additions and 69 deletions

View file

@ -27,12 +27,16 @@ in {
out.set = removeAttrs cfg cfg.attrs;
};
deploy.tf.deploy.systems."${config.networking.hostName}" = with tf.resources; {
isRemote = (config.networking.hostName != builtins.getEnv "HOME_HOSTNAME");
deploy.tf.deploy.systems."${config.networking.hostName}" =
with tf.resources; {
isRemote =
(config.networking.hostName != builtins.getEnv "HOME_HOSTNAME");
nixosConfig = config;
connection = tf.resources.${config.networking.hostName}.connection.set;
triggers.copy."${config.networking.hostName}" = tf.resources.${config.networking.hostName}.refAttr "id";
triggers.secrets."${config.networking.hostName}" = tf.resources.${config.networking.hostName}.refAttr "id";
triggers.copy."${config.networking.hostName}" =
tf.resources.${config.networking.hostName}.refAttr "id";
triggers.secrets."${config.networking.hostName}" =
tf.resources.${config.networking.hostName}.refAttr "id";
};
deploy.tf.dns.records."kittywitch_net_${config.networking.hostName}" =

View file

@ -2,10 +2,13 @@
let
pkgs = import sources.nixpkgs { inherit config; };
overlay = self: super: rec {
dino = super.callPackage "${sources.qyliss-nixlib}/overlays/patches/dino" {
overlay = self: super:
rec {
/* dino = super.callPackage "${sources.qyliss-nixlib}/overlays/patches/dino" {
inherit (super) dino;
};
*/
discord = super.discord.override { nss = self.nss; };
@ -26,7 +29,8 @@ let
screenstub = super.callPackage ./screenstub { };
buildFirefoxXpiAddon = { pname, version, addonId, url, sha256, meta, ... }:
buildFirefoxXpiAddon =
{ pname, version, addonId, url, sha256, meta, ... }:
pkgs.stdenv.mkDerivation {
name = "${pname}-${version}";
@ -59,6 +63,7 @@ let
kat-tw-export = super.callPackage ./kat-tw-export { };
kat-scrot = super.callPackage ./kat-scrot { };
} // super.lib.optionalAttrs (builtins.pathExists ../private/pkgs) (import ../private/pkgs { inherit super self; });
} // super.lib.optionalAttrs (builtins.pathExists ../private/pkgs)
(import ../private/pkgs { inherit super self; });
in (pkgs.extend (import (sources.arc-nixexprs + "/overlay.nix"))).extend overlay