add retiolum

feature/nixinite
Ingolf Wagner 2023-06-10 18:34:54 +02:00
parent 3361247e7e
commit 2b6b034a22
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
4 changed files with 21 additions and 4 deletions

View File

@ -146,9 +146,9 @@
meta = {
nixpkgs = import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
overlays = [
(_self: _super: {
# we assign the overlay created before to the overlays of nixpkgs.
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
@ -158,7 +158,6 @@
landingpage = landingpage.packages.${pkgs.system}.plain;
trilium-server = nixpkgs-unstable.legacyPackages.${pkgs.system}.trilium-server;
kmonad = kmonad.packages.${pkgs.system}.kmonad;
})
];
};
@ -211,11 +210,13 @@
cream = { name, nodes, pkgs, ... }: {
deployment.allowLocalDeployment = true;
deployment.targetHost = "${name}.private";
#deployment.targetHost = "localhost";
deployment.tags = [ "desktop" "online" "private" ];
imports = [
grocy-scanner.nixosModule
nixos-hardware.nixosModules.framework-12th-gen-intel
private_assets.nixosModules.jobrad
retiolum.nixosModules.retiolum
];
home-manager.users.mainUser = {

View File

@ -9,8 +9,9 @@
./hardware-configuration.nix
./packages.nix
./syncthing.nix
./tinc.nix
./cups.nix
./tinc.nix
./tinc_retiolum.nix
#./wifi-access-point.nix
#./wireshark.nix

View File

@ -0,0 +1,15 @@
{ config, ... }:
{
sops.secrets.tinc_retiolum_ed25519_key = { };
sops.secrets.tinc_retiolum_rsa_key = { };
networking.retiolum.port = 720;
networking.retiolum.nodename = "sol";
services.tinc.networks.retiolum = {
ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path;
rsaPrivateKeyFile = config.sops.secrets.tinc_retiolum_rsa_key.path;
};
}

View File

@ -222,7 +222,7 @@ in
cups
xfe # filemanager
evince
sxiv
nsxiv
(library.desktopFile sxiv {
longName = "Image Viewer";
command = "sxiv";