mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
project-wide: nixdirfmt
This commit is contained in:
parent
ed5eb10d0e
commit
19ba7b13c0
6 changed files with 78 additions and 69 deletions
|
|
@ -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}" =
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
with (import <nixpkgs> {});
|
||||
with (import <nixpkgs> { });
|
||||
|
||||
mkShell {
|
||||
shellHook = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue