From dec36d2e9aaca7ca7149a244aa984e97925a3dba Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 17 May 2026 01:05:14 +0200 Subject: moved ssh and tailscale to srv, revamped netwroking modules --- hosts/bibus-lab/configuration.nix | 14 ++++++++++++++ hosts/bibus-lab/disko.nix | 4 ++++ hosts/desktop/configuration.nix | 19 ++++++------------- 3 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 hosts/bibus-lab/configuration.nix create mode 100644 hosts/bibus-lab/disko.nix (limited to 'hosts') diff --git a/hosts/bibus-lab/configuration.nix b/hosts/bibus-lab/configuration.nix new file mode 100644 index 0000000..13e1a3b --- /dev/null +++ b/hosts/bibus-lab/configuration.nix @@ -0,0 +1,14 @@ +{ inputs, username, ... }: +{ + system.stateVersion = "26.05"; + + imports = [ + inputs.disko.nixosModules.disko + ./disko.nix + + ../../os/default.nix + ]; + + hardware.facter.reportPath = ./facter.json; + +} diff --git a/hosts/bibus-lab/disko.nix b/hosts/bibus-lab/disko.nix new file mode 100644 index 0000000..0691fc0 --- /dev/null +++ b/hosts/bibus-lab/disko.nix @@ -0,0 +1,4 @@ +{ + disko.devices = { + }; +} diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 9fbe3cb..c7fa49c 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -1,9 +1,4 @@ -{ - config, - username, - pkgs-master, - ... -}: +{ config, username, ... }: { system.stateVersion = "25.05"; @@ -45,22 +40,22 @@ zram.enable = true; swapfile = { enable = true; - size = 32; + size = 16; }; }; network.enable = true; security = { enable = true; sandboxing.enable = true; - # antivirus.enable = true; }; - ssh.enable = true; - tailscale.enable = true; storage.enable = true; users.enable = true; }; srv = { bluetooth.enable = true; + tailscale.enable = true; + ssh.enable = true; + firewall.enable = true; yggdrasil.enable = true; i2p = { enable = true; @@ -87,7 +82,7 @@ virtualization.kvm.enable = true; kdeconnect.enable = true; nix-helper.enable = true; - monero.enable = true; + monero.wallet.enable = true; sops.enable = true; syncthing.enable = true; omnisearch.enable = true; @@ -110,8 +105,6 @@ ]; }; - environment.systemPackages = [ pkgs-master.simplex-chat-desktop ]; - # services.netbox = { # enable = true; # package = pkgs-stable.netbox; -- cgit v1.3