removed CLN and general code updates

This commit is contained in:
2026-01-18 11:21:03 -06:00
parent f0444d333b
commit 0009be9644
4 changed files with 37 additions and 93 deletions

View File

@@ -92,15 +92,15 @@ in
# Allow Flatpak
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -110,17 +110,16 @@ in
"jitsi-meet-1.0.8043"
];
# List packages installed in system profile. To search, run:
# $ nix search wget
# List packages installed
environment.systemPackages = with pkgs; [
git
wget
fish
htop
btop
gnomeExtensions.transparent-top-bar-adjustable-transparency
gnomeExtensions.transparent-top-bar-adjustable-transparency
gnomeExtensions.systemd-manager
gnomeExtensions.dash-to-dock
gnomeExtensions.dash-to-dock
gnomeExtensions.vitals
gnomeExtensions.pop-shell
gnomeExtensions.just-perfection
@@ -156,7 +155,7 @@ in
firefox
element-desktop
wp-cli
axel
axel
];
@@ -175,7 +174,7 @@ in
};
####### CADDY #######
####### CADDY #######
services.caddy = {
enable = true;
user = "caddy";
@@ -244,7 +243,7 @@ in
};
};
###### AGENIX ######
###### AGENIX ######
age.identityPaths = [ "/root/.ssh/agenix/agenix-secret-keys" ];
age.secrets.matrix_reg_secret = {
@@ -257,7 +256,7 @@ in
###### CREATE DATABASE (WORDPRESS, MATRIX_SYNAPSE, AND NEXTCLOUD) #######
###### CREATE DATABASE (WORDPRESS, MATRIX_SYNAPSE, AND NEXTCLOUD) #######
services.postgresql = {
enable = true;
};
@@ -304,7 +303,7 @@ in
;
####### KEEP AWAKE for DISPLAY and HEADLESS #######
####### KEEP AWAKE for DISPLAY and HEADLESS #######
services.displayManager.gdm.autoSuspend = false;
systemd.sleep.extraConfig = ''
@@ -315,7 +314,7 @@ in
'';
####### BACKUP TO INTERNAL DRIVE #######
####### BACKUP TO INTERNAL DRIVE #######
services.rsnapshot = {
enable = true;
extraConfig = ''
@@ -334,7 +333,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
};
####### CRON #######
####### CRON #######
services.cron = {
enable = true;
systemCronJobs = [
@@ -348,7 +347,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
};
####### TOR #######
####### TOR #######
services.tor = {
enable = true;
client.enable = true;
@@ -358,7 +357,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
services.privoxy.enableTor = true;
####### Enable the OpenSSH daemon #######
####### Enable the SSH #######
services.openssh = {
enable = true;
settings = {
@@ -369,7 +368,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
};
#######FailtoBan#######
#######FailtoBan#######
services.fail2ban = {
enable = true;
ignoreIP = [
@@ -382,7 +381,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
};
####### Open ports in the firewall #######
####### Open ports in the firewall #######
networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3051 ];
networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3051 ];
@@ -393,7 +392,7 @@ backup /etc/nix-bitcoin-secrets/ localhost/
networking.firewall.enable = true;
####### AUTO COLLECT GARABAGE #######
####### AUTO COLLECT GARABAGE #######
nix.gc = {
automatic = true;
dates = "weekly";