chore: update pre-commit
This commit is contained in:
@@ -17,7 +17,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
rev: v1.37.1
|
rev: v1.38.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
args:
|
args:
|
||||||
@@ -32,7 +32,7 @@ repos:
|
|||||||
document-start: false
|
document-start: false
|
||||||
line-length: false
|
line-length: false
|
||||||
- repo: https://github.com/NixOS/nixfmt
|
- repo: https://github.com/NixOS/nixfmt
|
||||||
rev: v1.1.0
|
rev: v1.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: nixfmt-nix
|
- id: nixfmt-nix
|
||||||
- repo: https://github.com/astro/deadnix
|
- repo: https://github.com/astro/deadnix
|
||||||
|
|||||||
+1
-8
@@ -37,11 +37,4 @@ let
|
|||||||
++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
|
++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
(
|
(lib.genAttrs (builtins.attrNames (builtins.readDir ./hosts)) (name: mac { inherit name; }))
|
||||||
lib.genAttrs
|
|
||||||
(builtins.attrNames (builtins.readDir ./hosts))
|
|
||||||
(
|
|
||||||
name:
|
|
||||||
mac { inherit name; }
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, ... }:
|
{ ... }:
|
||||||
let
|
let
|
||||||
username = "greg";
|
username = "greg";
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# This allows things like SSH in distrobox to read the config file just fine
|
# This allows things like SSH in distrobox to read the config file just fine
|
||||||
home.file.".ssh/config" = {
|
home.file.".ssh/config" = {
|
||||||
target = ".ssh/config_source";
|
target = ".ssh/config_source";
|
||||||
onChange = ''cat ~/.ssh/config_source > ~/.ssh/config && chmod 600 ~/.ssh/config'';
|
onChange = "cat ~/.ssh/config_source > ~/.ssh/config && chmod 600 ~/.ssh/config";
|
||||||
};
|
};
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
+3
-6
@@ -10,7 +10,8 @@ let
|
|||||||
let
|
let
|
||||||
inherit (metadata.hosts.${host}) system;
|
inherit (metadata.hosts.${host}) system;
|
||||||
pkgs = nixpkgs.${system};
|
pkgs = nixpkgs.${system};
|
||||||
username = if builtins.hasAttr "user" metadata.hosts.${host} then metadata.hosts.${host}.user else "greg";
|
username =
|
||||||
|
if builtins.hasAttr "user" metadata.hosts.${host} then metadata.hosts.${host}.user else "greg";
|
||||||
in
|
in
|
||||||
top.hmunstable.lib.homeManagerConfiguration {
|
top.hmunstable.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
@@ -31,8 +32,4 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
(
|
(lib.genAttrs (builtins.attrNames (builtins.readDir ./hosts)) user)
|
||||||
lib.genAttrs
|
|
||||||
(builtins.attrNames (builtins.readDir ./hosts))
|
|
||||||
user
|
|
||||||
)
|
|
||||||
|
|||||||
@@ -4,9 +4,11 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
python = pkgs.python312.withPackages (p: with p; [
|
python = pkgs.python312.withPackages (
|
||||||
|
p: with p; [
|
||||||
ipython
|
ipython
|
||||||
]);
|
]
|
||||||
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Disables hitting local cache
|
# Disables hitting local cache
|
||||||
@@ -32,13 +34,15 @@ in
|
|||||||
podman
|
podman
|
||||||
poetry
|
poetry
|
||||||
pre-commit
|
pre-commit
|
||||||
(pulumi.withPackages (p: with p; [
|
(pulumi.withPackages (
|
||||||
|
p: with p; [
|
||||||
pulumi-aws-native
|
pulumi-aws-native
|
||||||
pulumi-command
|
pulumi-command
|
||||||
pulumi-go
|
pulumi-go
|
||||||
pulumi-nodejs
|
pulumi-nodejs
|
||||||
pulumi-python
|
pulumi-python
|
||||||
]))
|
]
|
||||||
|
))
|
||||||
python
|
python
|
||||||
rustc
|
rustc
|
||||||
terraform
|
terraform
|
||||||
|
|||||||
@@ -76,4 +76,3 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: gitea-config
|
name: gitea-config
|
||||||
key: minio_secret
|
key: minio_secret
|
||||||
|
|
||||||
|
|||||||
@@ -58,12 +58,17 @@ in
|
|||||||
"gregory.hellings"
|
"gregory.hellings"
|
||||||
]; # For home and for work machines
|
]; # For home and for work machines
|
||||||
substituters =
|
substituters =
|
||||||
(if cfg.cache then [
|
(
|
||||||
|
if cfg.cache then
|
||||||
|
[
|
||||||
#"http://chronicles.shire-zebra.ts.net:9000/binary-cache/"
|
#"http://chronicles.shire-zebra.ts.net:9000/binary-cache/"
|
||||||
"http://nas1.shire-zebra.ts.net:8080/default"
|
"http://nas1.shire-zebra.ts.net:8080/default"
|
||||||
] else [
|
]
|
||||||
|
else
|
||||||
|
[
|
||||||
"http://nas1.thehellings.lan:8080/default"
|
"http://nas1.thehellings.lan:8080/default"
|
||||||
])
|
]
|
||||||
|
)
|
||||||
++ [
|
++ [
|
||||||
"https://ai.cachix.org"
|
"https://ai.cachix.org"
|
||||||
"https://nixpkgs-python.cachix.org"
|
"https://nixpkgs-python.cachix.org"
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ with lib;
|
|||||||
|
|
||||||
target = mkOption {
|
target = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''The destination that is being proxied.'';
|
description = "The destination that is being proxied.";
|
||||||
example = "http://localhost:8080";
|
example = "http://localhost:8080";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user