Compare commits

..

No commits in common. "b1f0088294982353fa5d4ea64b1e0d59c25f3936" and "b31a3c940e93b01c3eee1f59ec995d68e7c919b6" have entirely different histories.

8 changed files with 25 additions and 61 deletions

View file

@ -1,8 +0,0 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{yaml,yml,json5}]
indent_style = space
indent_size = 2

View file

@ -29,22 +29,22 @@ with config;
_1password-gui _1password-gui
discord discord
flameshot flameshot
jetbrains.datagrip vlc
obsidian
parsec-bin
pika-backup
talosctl
termius termius
obsidian
jetbrains.datagrip
talosctl
pika-backup
parsec-bin
unstable.nheko unstable.nheko
unstable.telegram-desktop unstable.telegram-desktop
vlc
# cli # cli
brightnessctl brightnessctl
# dev utils # dev utils
minio-client # S3 management
pre-commit # Pre-commit tasks for git pre-commit # Pre-commit tasks for git
minio-client # S3 management
shellcheck # shell script linting shellcheck # shell script linting
unstable.act unstable.act
]; ];

View file

@ -1,5 +1,6 @@
{ 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
{ {

View file

@ -42,6 +42,7 @@
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";

View file

@ -21,8 +21,6 @@ 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 = [

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { lib, config, pkgs, ... }:
with lib; with lib;
let let
cfg = config.mySystem.services.onepassword-connect; cfg = config.mySystem.services.onepassword-connect;
@ -6,16 +6,6 @@ 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;
}; };
@ -35,7 +25,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:${cfg.apiVersion}"; image = "docker.io/1password/connect-api:1.7.2";
autoStart = true; autoStart = true;
ports = [ "8080:8080" ]; ports = [ "8080:8080" ];
volumes = [ volumes = [
@ -45,7 +35,7 @@ in
}; };
onepassword-connect-sync = { onepassword-connect-sync = {
image = "docker.io/1password/connect-sync:${cfg.syncVersion}"; image = "docker.io/1password/connect-sync:1.7.2";
autoStart = true; autoStart = true;
ports = [ "8081:8080" ]; ports = [ "8081:8080" ];
volumes = [ volumes = [

13
renovate.json Normal file
View file

@ -0,0 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"nix": {
"enabled": true
},
"lockFileMaintenance": {
"enabled": true,
"extends": ["schedule:daily"]
}
}

View file

@ -1,31 +0,0 @@
{
"$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}}",
},
],
}