add retiolum
This commit is contained in:
parent
3361247e7e
commit
2b6b034a22
4 changed files with 21 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
15
nixos/machines/cream/tinc_retiolum.nix
Normal file
15
nixos/machines/cream/tinc_retiolum.nix
Normal 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;
|
||||
|
||||
};
|
||||
}
|
|
@ -222,7 +222,7 @@ in
|
|||
cups
|
||||
xfe # filemanager
|
||||
evince
|
||||
sxiv
|
||||
nsxiv
|
||||
(library.desktopFile sxiv {
|
||||
longName = "Image Viewer";
|
||||
command = "sxiv";
|
||||
|
|
Loading…
Reference in a new issue