mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
kropsify
This commit is contained in:
@@ -8,7 +8,7 @@ in {
|
||||
imports = [
|
||||
<system/hardware-configuration.nix>
|
||||
<system/containers.nix>
|
||||
<modules/retiolum.nix>
|
||||
<niveum/modules/retiolum.nix>
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = false;
|
||||
@@ -24,7 +24,7 @@ in {
|
||||
};
|
||||
|
||||
environment.variables.TERM = "linux";
|
||||
environment.variables.HTOPRC = toString <htoprc>;
|
||||
environment.variables.HTOPRC = toString <niveum/dot/htoprc>;
|
||||
|
||||
documentation.enable = false;
|
||||
documentation.doc.enable = false;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
telegram-reverse = pkgs.python3Packages.callPackage <packages/telegram-reverse.nix> {};
|
||||
telegram-betacode = pkgs.python3Packages.callPackage <packages/telegram-betacode.nix> {};
|
||||
telegram-horoscope = pkgs.python3Packages.callPackage <packages/telegram-horoscope.nix> {};
|
||||
telegram-reverse = pkgs.python3Packages.callPackage <niveum/packages/telegram-reverse.nix> {};
|
||||
telegram-betacode = pkgs.python3Packages.callPackage <niveum/packages/telegram-betacode.nix> {};
|
||||
telegram-horoscope = pkgs.python3Packages.callPackage <niveum/packages/telegram-horoscope.nix> {};
|
||||
in {
|
||||
containers.telegram-bots = {
|
||||
autoStart = true;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ ../../main.nix
|
||||
[ <niveum/main.nix>
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
{ catullus-ssh ? "root@catullus.r" }:
|
||||
{ catullus-ssh ? "root@catullus.r"
|
||||
, scardanelli-ssh ? "root@scardanelli.r:22022"
|
||||
, homeros-ssh ? "root@homeros.r:22022"
|
||||
}:
|
||||
let
|
||||
krops = builtins.fetchGit {
|
||||
url = "https://cgit.krebsco.de/krops/";
|
||||
@@ -8,20 +11,33 @@ let
|
||||
|
||||
source = name: path: lib.evalSource [{
|
||||
nixpkgs.git = {
|
||||
ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||
url = https://github.com/NixOS/nixpkgs-channels;
|
||||
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||
ref = "22a606e20d662e2575552ab9b5e7c31aa8331e0e";
|
||||
};
|
||||
# stockholm.git = {
|
||||
# url = https://cgit.krebsco.de/stockholm;
|
||||
# ref = "9b2355521f8447e7da3af30bce8fb7ba6f83ed69";
|
||||
# };
|
||||
system.file = toString path;
|
||||
modules.file = toString ../modules;
|
||||
htoprc.file = toString ../dot/htoprc;
|
||||
packages.file = toString ../packages;
|
||||
nixos-config.symlink = "system/configuration.nix";
|
||||
secrets.pass = {
|
||||
dir = toString ~/.password-store;
|
||||
name = name;
|
||||
};
|
||||
niveum.file = toString ../.;
|
||||
nixos-config.symlink = "system/physical.nix";
|
||||
# secrets.pass = {
|
||||
# dir = toString ~/.password-store;
|
||||
# name = name;
|
||||
# };
|
||||
}];
|
||||
|
||||
systems.scardanelli = pkgs.krops.writeDeploy "deploy-scardanelli" {
|
||||
source = source "scardanelli" ./scardanelli;
|
||||
target = scardanelli-ssh;
|
||||
};
|
||||
|
||||
systems.homeros = pkgs.krops.writeDeploy "deploy-homeros" {
|
||||
source = source "homeros" ./homeros;
|
||||
target = homeros-ssh;
|
||||
};
|
||||
|
||||
systems.catullus = pkgs.krops.writeDeploy "deploy-catullus" {
|
||||
source = source "catullus" ./catullus;
|
||||
target = catullus-ssh;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ ../../main.nix
|
||||
[ <niveum/main.nix>
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user