Compare commits

..

No commits in common. "d258abf38e836485f251b382c7d66b3add40a766" and "e99d4de6fba130a414edb6449c3227a1ed95016a" have entirely different histories.

8 changed files with 74 additions and 52 deletions

View file

@ -56,11 +56,11 @@
]
},
"locked": {
"lastModified": 1719243979,
"narHash": "sha256-NBPZdXaXPPbD/w2EM2cC3dK1ZFSAemV5sIQHGLeoAEY=",
"lastModified": 1719213809,
"narHash": "sha256-s7dGKRFHjizKv+mqaAd/7BmwPphNM6XMGqtC40sqzWM=",
"owner": "atuinsh",
"repo": "atuin",
"rev": "9e36f63c6edbd7d675202e873716de9748928b59",
"rev": "8956142cc5b4f5636ae1943f81bf2c22864b8dba",
"type": "github"
},
"original": {
@ -197,11 +197,11 @@
]
},
"locked": {
"lastModified": 1719236180,
"narHash": "sha256-VZAfBk2Lo8hQy/NQ4XVSpTICT0ownXBUi1QvGfdlxaM=",
"lastModified": 1719193457,
"narHash": "sha256-ByDySG4oQN6KzLCuJjTax6+cMVtOixuYuu2GnnoPpoI=",
"owner": "nix-community",
"repo": "disko",
"rev": "dd4d1663ccf7fbdb32361b9afe9e71206584cd4c",
"rev": "50d4d13fbac5db81f8c1e79d95ad87a2970b9201",
"type": "github"
},
"original": {
@ -221,11 +221,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1719245815,
"narHash": "sha256-BiDNkoh9a2dx2OTUFpzWhkGq5WfatG7sUX4Kw0Fdo7g=",
"lastModified": 1719193216,
"narHash": "sha256-4jggHHDsLt+i4/6lMNlZkHd3bzgV50feNpZGe4X3eMQ=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "b6082d10feac69203dac419818daa47c5fe36464",
"rev": "e3e9ef4c9904fddbd8c00f3288e6a3be26a6bf0b",
"type": "github"
},
"original": {
@ -753,11 +753,11 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1719122173,
"narHash": "sha256-aEMsNUtqSPwn6l+LIZ/rX++nCgun3E9M3uSZs6Rwb7w=",
"lastModified": 1718811006,
"narHash": "sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90++qRN3lukGaIk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "906320ae02f769d13a646eb3605a9821df0d6ea2",
"rev": "03d771e513ce90147b65fe922d87d3a0356fc125",
"type": "github"
},
"original": {
@ -769,11 +769,11 @@
},
"nixpkgs-stable_3": {
"locked": {
"lastModified": 1718811006,
"narHash": "sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90++qRN3lukGaIk=",
"lastModified": 1718447546,
"narHash": "sha256-JHuXsrC9pr4kA4n7LuuPfWFJUVlDBVJ1TXDVpHEuUgM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "03d771e513ce90147b65fe922d87d3a0356fc125",
"rev": "842253bf992c3a7157b67600c2857193f126563a",
"type": "github"
},
"original": {
@ -853,11 +853,11 @@
"nixpkgs-stable": "nixpkgs-stable_3"
},
"locked": {
"lastModified": 1719259945,
"narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=",
"lastModified": 1718879355,
"narHash": "sha256-RTyqP4fBX2MdhNuMP+fnR3lIwbdtXhyj7w7fwtvgspc=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
"rev": "8cd35b9496d21a6c55164d8547d9d5280162b07a",
"type": "github"
},
"original": {
@ -943,11 +943,11 @@
]
},
"locked": {
"lastModified": 1719281921,
"narHash": "sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc=",
"lastModified": 1719195554,
"narHash": "sha256-bFXHMjpYlEERexzXa1gLGJO/1l8dxaAtSNE56YALuTg=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "b6032d3a404d8a52ecfc8571ff0c26dfbe221d07",
"rev": "577ee84c69ba89894ac622d71a678a14d746b2f7",
"type": "github"
},
"original": {
@ -964,11 +964,11 @@
"nixpkgs-stable": "nixpkgs-stable_4"
},
"locked": {
"lastModified": 1719268571,
"narHash": "sha256-pcUk2Fg5vPXLUEnFI97qaB8hto/IToRfqskFqsjvjb8=",
"lastModified": 1719111739,
"narHash": "sha256-kr2QzRrplzlCP87ddayCZQS+dhGW98kw2zy7+jUXtF4=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "c2ea1186c0cbfa4d06d406ae50f3e4b085ddc9b3",
"rev": "5e2e9421e9ed2b918be0a441c4535cfa45e04811",
"type": "github"
},
"original": {
@ -1061,11 +1061,11 @@
]
},
"locked": {
"lastModified": 1719243788,
"narHash": "sha256-9T9mSY35EZSM1KAwb7K9zwQ78qTlLjosZgtUGnw4rn4=",
"lastModified": 1718522839,
"narHash": "sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "065a23edceff48f948816b795ea8cc6c0dee7cdf",
"rev": "68eb1dc333ce82d0ab0c0357363ea17c31ea1f81",
"type": "github"
},
"original": {

View file

@ -223,9 +223,5 @@ in
xdg.configFile."xkb/symbols/us" = {
source = ./keyboard-layout.xkb;
};
home.sessionVariables = {
XDG_CURRENT_DESKTOP = "river";
};
};
}

33
krops.nix Normal file
View file

@ -0,0 +1,33 @@
let
krops = builtins.fetchGit { url = "https://cgit.krebsco.de/krops/"; };
lib = import "${krops}/lib";
pkgs = import "${krops}/pkgs" { };
source = _name: lib.evalSource [ { machine-config.file = toString ./.; } ];
command = targetPath: ''
nix-shell -p git --run '
nix build '${targetPath}/machine-config#nixosConfigurations.$(hostname).config.system.build.toplevel' && \
nixos-rebuild switch --show-trace --build-host builder@loki --flake ${targetPath}/machine-config
'
'';
createHost =
name: target:
pkgs.krops.writeCommand "deploy-${name}" {
inherit command;
source = source name;
target = lib.mkTarget target;
};
in
{
# Deployments
# Run with:
# nix-build ./krops.nix -A loki && ./result
loki = createHost "loki" "root@loki";
drone = createHost "drone" "root@10.0.0.202";
proxy = createHost "proxy" "root@10.0.0.251";
gitea = createHost "gitea" "root@10.0.0.201";
}

View file

@ -137,13 +137,6 @@
file_server
'';
};
"boskma.frl" = {
extraConfig = ''
root * /var/www/boskma.frl
file_server
'';
};
};
};
};

View file

@ -242,11 +242,11 @@
};
netdevs = {
"10-horus0" = {
"10-wghorus" = {
netdevConfig = {
Kind = "wireguard";
MTUBytes = "1420";
Name = "horus0";
Name = "wghorus";
};
wireguardConfig = {
@ -281,9 +281,9 @@
IPv6AcceptRA = true;
};
};
"40-horus0" = {
"40-wghorus" = {
matchConfig = {
Name = "horus0";
Name = "wghorus";
};
linkConfig = {

View file

@ -14,12 +14,12 @@ buildMavenPackage {
owner = "keycloak";
repo = "keycloak";
rev = version;
sha256 = "sha256-DgXUBnyrx4b7YH/w7EJFAPT35MEKTBQBNHFteW+A7hE=";
sha256 = "ZbI0ekuYOl7SSzoGHGOTs/u3hRHfh9qFH0FB953YxP0=";
};
sourceRoot = "source/integration/admin-client";
mvnHash = "sha256-lf2CSOM3uWcG3lw7CHz7KBUMS6Av1M9ak7jFEQX/f1I=";
mvnHash = "sha256-Cru48OGrrBSjfHzPrEbRRZXxB75tIn5URw0fFILcTf0=";
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
installPhase = ''

View file

@ -1,6 +1,6 @@
{ buildMavenPackage, fetchFromGitHub }:
let
version = "0.76";
version = "0.72";
in
buildMavenPackage {
inherit version;
@ -10,13 +10,13 @@ buildMavenPackage {
owner = "p2-inc";
repo = "keycloak-orgs";
rev = "v${version}";
hash = "sha256-izrZ1ke9BuVZAuWdoJTqNEXsEyw5skuWXiGfUFq2l4k=";
# hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
sha256 = "HaetCeTjXW+4OM7UZkmryynASF/QUb6bPEWCMzKB0h8=";
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
doCheck = false;
mvnHash = "sha256-7mxdo60ofvoAPUiG/tNMH198DYD3Tn0jn6pVI4m9jQo=";
mvnHash = "sha256-HfLuUy22JgRK0M8h0BQ31OMboY2XDo+eTt/TmYhHPZo=";
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
mvnParameters = "--batch-mode -DskipTests -Dmaven.test.skip=true -Dmaven.buildNumber.skip=true";

View file

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
let
version = "25.0.1.1718907377";
jarVersion = "25.0.0";
version = "24.0.4.1715362488";
jarVersion = "24.0.0";
in
stdenv.mkDerivation {
inherit version;
@ -11,8 +11,8 @@ stdenv.mkDerivation {
owner = "p2-inc";
repo = "phasetwo-containers";
rev = "v${version}";
hash = "sha256-Xk/4Nq2u5reZeMoNHWGS8sZXiGtd/BFRB6dA9AW0fKw=";
# hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
sha256 = "J8ffCVYmDGi/eLlTTcR+k73f9nXlCQoCY7GNMi5f584=";
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
doBuild = false;