sterni compiles and works

This commit is contained in:
Ingolf Wagner 2022-06-22 23:06:16 +02:00
parent 3b06aaaeb6
commit d6f8fe252b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 29 additions and 5 deletions

View file

@ -730,6 +730,19 @@
"url": "https://git.ingolf-wagner.de/palo/polygon-art.git" "url": "https://git.ingolf-wagner.de/palo/polygon-art.git"
} }
}, },
"private_assets": {
"flake": false,
"locked": {
"lastModified": 1655930779,
"narHash": "sha256-QaIZ0HRwWD1lC3e+DwdXaBHtmhduOtEfoa1KGpw3Ew0=",
"path": "/home/palo/dev/private_assets",
"type": "path"
},
"original": {
"path": "/home/palo/dev/private_assets",
"type": "path"
}
},
"revealjs": { "revealjs": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -760,6 +773,7 @@
"nixpkgs-fmt": "nixpkgs-fmt", "nixpkgs-fmt": "nixpkgs-fmt",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"polygon-art": "polygon-art", "polygon-art": "polygon-art",
"private_assets": "private_assets",
"secrets": "secrets", "secrets": "secrets",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }

View file

@ -13,6 +13,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# colmena # colmena
# -------
colmena.url = "github:zhaofengli/colmena"; colmena.url = "github:zhaofengli/colmena";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
polygon-art = { polygon-art = {
@ -47,6 +48,10 @@
url = "github:mrVanDalo/grocy-scanner"; url = "github:mrVanDalo/grocy-scanner";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
private_assets = {
url = "path:/home/palo/dev/private_assets";
flake = false;
};
}; };
outputs = outputs =
@ -58,13 +63,14 @@
, grocy-scanner , grocy-scanner
, home-manager , home-manager
, home-manager-utils , home-manager-utils
, krops
, nixpkgs , nixpkgs
, nixpkgs-fmt , nixpkgs-fmt
, nixpkgs-unstable , nixpkgs-unstable
, polygon-art , polygon-art
, sops-nix , private_assets
, krops
, secrets , secrets
, sops-nix
}: }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
@ -108,6 +114,9 @@
]; ];
}; };
specialArgs = {
inherit private_assets;
};
}; };
sterni = { name, nodes, pkgs, ... }: { sterni = { name, nodes, pkgs, ... }: {

View file

@ -68,7 +68,8 @@ in
${pkgs.khal}/bin/ikhal ${pkgs.khal}/bin/ikhal
'') '')
unstable.python3Packages.bugwarrior #unstable.python3Packages.bugwarrior
python3Packages.bugwarrior
# bugwarrior # bugwarrior
#(let #(let

View file

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, private_assets, ... }:
with lib; with lib;
let let
computers = { computers = {
pepe = { pepe = {
onionId = fileContents ../../private_assets/onion_id_pepe; onionId = fileContents "${private_assets}/onion_id_pepe";
# SHA256:aOZbqpgc5CcTNtRAzjuG/0BQZ9MF5c9u/N+UC88y8kI # SHA256:aOZbqpgc5CcTNtRAzjuG/0BQZ9MF5c9u/N+UC88y8kI
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5K4UHD8cIcXB33UiOj5vyXJj+4CyyiLFDMwcyad92a"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5K4UHD8cIcXB33UiOj5vyXJj+4CyyiLFDMwcyad92a";
}; };