mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-01 22:44:51 +02:00
small sisyphe update
This commit is contained in:
parent
0e1b49a4a7
commit
1ec09c0571
5 changed files with 7 additions and 83 deletions
|
@ -21,6 +21,8 @@ in
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
|
||||||
|
# Support for xterm.js in Proxmox
|
||||||
boot.kernelParams = [ "console=ttyS0" ];
|
boot.kernelParams = [ "console=ttyS0" ];
|
||||||
|
|
||||||
services.qemuGuest.enable = true;
|
services.qemuGuest.enable = true;
|
||||||
|
@ -123,6 +125,11 @@ in
|
||||||
"unrar"
|
"unrar"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# log shouldnt eat all my hard drive
|
||||||
|
services.logrotate = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
{ config, ... }:
|
|
||||||
let
|
|
||||||
authentik-version = "2024.6.1";
|
|
||||||
authentik-nix-src = builtins.fetchTarball {
|
|
||||||
url = "https://github.com/nix-community/authentik-nix/archive/version/${authentik-version}.tar.gz";
|
|
||||||
sha256 = "10ss29nzifyrq44080mjqa6xl6qw9mz755xcrla3kjxjl7d0mvlz";
|
|
||||||
};
|
|
||||||
authentik-nix = import authentik-nix-src;
|
|
||||||
cfg = config.authentik;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [ authentik-nix.nixosModules.default ];
|
|
||||||
sops.secrets."authentik" = {
|
|
||||||
sopsFile = ../secrets/authentik.env;
|
|
||||||
format = "dotenv";
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
sops.secrets.mail-server = {
|
|
||||||
sopsFile = ./secrets/mail.json;
|
|
||||||
format = "json";
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
services.authentik = {
|
|
||||||
enable = true;
|
|
||||||
environmentFile = config.sops.secrets."authentik".path;
|
|
||||||
settings = {
|
|
||||||
/*
|
|
||||||
email = {
|
|
||||||
host = config.sops.secrets.mail-server."host";
|
|
||||||
username = config.sops.secrets.mail-server."username";
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
disable_startup_analytics = true;
|
|
||||||
avatars = "initials";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
{config, ...}:
|
|
||||||
{
|
|
||||||
virtualisation.oci-containers = {
|
|
||||||
backend = "docker";
|
|
||||||
containers = {
|
|
||||||
fourget = {
|
|
||||||
image = "luuul/4get:latest";
|
|
||||||
environment = {
|
|
||||||
"FOURGET_PROTO" = "http";
|
|
||||||
"FOURGET_SERVER_NAME" = "192.168.1.177:6942";
|
|
||||||
};
|
|
||||||
ports = ["6942:80"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -13,12 +13,6 @@
|
||||||
'';
|
'';
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
sshd = ''
|
|
||||||
enabled = true
|
|
||||||
port = ssh
|
|
||||||
logpath = %(sshd_log)s
|
|
||||||
backend = %(sshd_backend)s
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [ ircdHybrid ];
|
|
||||||
|
|
||||||
services.ircdHybrid = {
|
|
||||||
enable = false;
|
|
||||||
serverName = "irc.rougebordeaux.xyz";
|
|
||||||
description = "welcome to the silly kittens hut !! meow:3";
|
|
||||||
adminEmail = "admin@rougebordeaux.xyz";
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
environment.etc = {
|
|
||||||
"ircd.conf" = {
|
|
||||||
text =''
|
|
||||||
'';
|
|
||||||
mode = "440";
|
|
||||||
};
|
|
||||||
};*
|
|
||||||
*/
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue