Compare commits
4 commits
b31a3c940e
...
b1f0088294
Author | SHA1 | Date | |
---|---|---|---|
b1f0088294 | |||
0855f8f133 | |||
cc2e8bb5df | |||
17289fb507 |
8 changed files with 60 additions and 24 deletions
8
.editorconfig
Normal file
8
.editorconfig
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
root = true
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{yaml,yml,json5}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
|
@ -29,22 +29,22 @@ with config;
|
||||||
_1password-gui
|
_1password-gui
|
||||||
discord
|
discord
|
||||||
flameshot
|
flameshot
|
||||||
vlc
|
|
||||||
termius
|
|
||||||
obsidian
|
|
||||||
jetbrains.datagrip
|
jetbrains.datagrip
|
||||||
talosctl
|
obsidian
|
||||||
pika-backup
|
|
||||||
parsec-bin
|
parsec-bin
|
||||||
|
pika-backup
|
||||||
|
talosctl
|
||||||
|
termius
|
||||||
unstable.nheko
|
unstable.nheko
|
||||||
unstable.telegram-desktop
|
unstable.telegram-desktop
|
||||||
|
vlc
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
|
||||||
# dev utils
|
# dev utils
|
||||||
pre-commit # Pre-commit tasks for git
|
|
||||||
minio-client # S3 management
|
minio-client # S3 management
|
||||||
|
pre-commit # Pre-commit tasks for git
|
||||||
shellcheck # shell script linting
|
shellcheck # shell script linting
|
||||||
unstable.act
|
unstable.act
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
with lib; let
|
with lib; let
|
||||||
inherit (config.myHome) username homeDirectory;
|
|
||||||
cfg = config.myHome.shell.atuind;
|
cfg = config.myHome.shell.atuind;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
# System settings and services.
|
# System settings and services.
|
||||||
mySystem = {
|
mySystem = {
|
||||||
purpose = "Development";
|
purpose = "Development";
|
||||||
|
|
|
@ -21,6 +21,8 @@ let
|
||||||
"tamasfe.even-better-toml"
|
"tamasfe.even-better-toml"
|
||||||
"tyriar.sort-lines"
|
"tyriar.sort-lines"
|
||||||
"yzhang.markdown-all-in-one"
|
"yzhang.markdown-all-in-one"
|
||||||
|
"mrmlnc.vscode-json5"
|
||||||
|
"editorconfig.editorconfig"
|
||||||
];
|
];
|
||||||
# Nixpkgs Extensions. These are updated whenver they get around to it.
|
# Nixpkgs Extensions. These are updated whenver they get around to it.
|
||||||
vscodeNixpkgsExtensions = [
|
vscodeNixpkgsExtensions = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.mySystem.services.onepassword-connect;
|
cfg = config.mySystem.services.onepassword-connect;
|
||||||
|
@ -6,6 +6,16 @@ in
|
||||||
{
|
{
|
||||||
options.mySystem.services.onepassword-connect = {
|
options.mySystem.services.onepassword-connect = {
|
||||||
enable = mkEnableOption "onepassword-connect";
|
enable = mkEnableOption "onepassword-connect";
|
||||||
|
apiVersion = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
# renovate: depName=docker.io/1password/connect-api datasource=docker
|
||||||
|
default = "1.7.2";
|
||||||
|
};
|
||||||
|
syncVersion = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
# renovate: depName=docker.io/1password/connect-sync datasource=docker
|
||||||
|
default = "1.7.2";
|
||||||
|
};
|
||||||
credentialsFile = lib.mkOption {
|
credentialsFile = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
};
|
};
|
||||||
|
@ -25,7 +35,7 @@ in
|
||||||
# Enable onepassword-connect containers.
|
# Enable onepassword-connect containers.
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
onepassword-connect-api = {
|
onepassword-connect-api = {
|
||||||
image = "docker.io/1password/connect-api:1.7.2";
|
image = "docker.io/1password/connect-api:${cfg.apiVersion}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [ "8080:8080" ];
|
ports = [ "8080:8080" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
|
@ -35,7 +45,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
onepassword-connect-sync = {
|
onepassword-connect-sync = {
|
||||||
image = "docker.io/1password/connect-sync:1.7.2";
|
image = "docker.io/1password/connect-sync:${cfg.syncVersion}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [ "8081:8080" ];
|
ports = [ "8081:8080" ];
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": [
|
|
||||||
"config:base"
|
|
||||||
],
|
|
||||||
"nix": {
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
"lockFileMaintenance": {
|
|
||||||
"enabled": true,
|
|
||||||
"extends": ["schedule:daily"]
|
|
||||||
}
|
|
||||||
}
|
|
31
renovate.json5
Normal file
31
renovate.json5
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
],
|
||||||
|
"nix": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"lockFileMaintenance": {
|
||||||
|
"enabled": true,
|
||||||
|
"extends": [
|
||||||
|
"schedule:daily"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"customType": "regex",
|
||||||
|
"description": "Process various dependencies in nix files",
|
||||||
|
"fileMatch": [
|
||||||
|
"\\.nix$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
// Newline
|
||||||
|
"(?m:^[ \\t]*?# ?renovate: depName=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[ \\t ]*?\\S+ = \"?(?<currentValue>[^\" ]+?)\";?$)"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
||||||
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
||||||
|
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
Loading…
Reference in a new issue