Reduced config for demo purposes

This commit is contained in:
2025-10-14 15:15:09 -04:00
parent 205c555984
commit 2f1331185a
15 changed files with 17 additions and 221 deletions

View File

@@ -1,20 +0,0 @@
{
inputs,
pkgs,
...
}:
{
imports = [
inputs.agenix.nixosModules.default
];
environment.systemPackages = [
inputs.agenix.packages.${pkgs.system}.default # CLI Tool
];
age.secrets = {
tailscale-auth.file = ../../secrets/tailscale-auth.age;
eclypsecloud-eclypse.file = ../../secrets/eclypsecloud-eclypse.age;
eclypse-password.file = ../../secrets/eclypse-password.age;
};
}

View File

@@ -1,10 +1,8 @@
{
config,
...
}:
{
boot = {
extraModulePackages = with config.boot.kernelPackages; [ virtualbox ];
loader = {
systemd-boot = {
enable = true;
@@ -12,6 +10,5 @@
};
efi.canTouchEfiVariables = true;
};
kernelParams = [ "kvm.enable_virt_at_load=0" ];
};
}

View File

@@ -3,7 +3,6 @@
}:
{
imports = [
./agenix.nix
./boot.nix
./fileSystems.nix
./fonts.nix
@@ -12,8 +11,6 @@
./security.nix
./services.nix
./system.nix
./tailscale.nix
./user.nix
./virtualisation.nix
];
}

View File

@@ -1,45 +0,0 @@
{
pkgs,
config,
...
}:
let
automount_opts = [
"x-systemd.automount"
"x-systemd.idle-timeout=60"
"x-systemd.device-timeout=5s"
"x-systemd.mount-timeout=5s"
"noauto"
"user"
"users"
];
in
{
fileSystems = {
"/mnt/EclypseCloud" = {
device = "//100.78.212.35/EclypseCloud";
fsType = "cifs";
options = [
"credentials=${config.age.secrets.eclypsecloud-eclypse.path}"
"uid=${toString config.users.users.eclypse.uid}"
"rw"
]
++ automount_opts;
};
"/mnt/Music" = {
device = "//100.78.212.35/music";
fsType = "cifs";
options = [
"credentials=${config.age.secrets.eclypsecloud-eclypse.path}"
"uid=${toString config.users.users.eclypse.uid}"
"rw"
]
++ automount_opts;
};
};
environment.systemPackages = with pkgs; [
cifs-utils
# rclone
];
}

View File

@@ -1,31 +0,0 @@
{
config,
pkgs,
...
}:
{
services.tailscale = {
enable = true;
useRoutingFeatures = "client";
authKeyFile = config.age.secrets.tailscale-auth.path;
# * Only applied if `authKeyFile` is specified
extraUpFlags = [
"--ssh"
"--accept-routes=true"
];
extraSetFlags = [
"--operator=eclypse"
];
};
# Taildrop
systemd.user.services.taildrop = {
description = "Taildrop File Receiver Service";
wantedBy = [ "default.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.tailscale}/bin/tailscale file get --verbose --loop %h/Downloads/";
};
};
}

View File

@@ -2,7 +2,6 @@
inputs,
pkgs,
host,
config,
...
}:
{
@@ -22,8 +21,6 @@
};
programs.home-manager.enable = true;
};
backupFileExtension = "backup18";
};
users.mutableUsers = false;
@@ -35,7 +32,7 @@
"networkmanager"
"wheel"
];
hashedPasswordFile = config.age.secrets.eclypse-password.path;
hashedPassword = "$6$33qMKGMsdYC//e/s$Z2mQCqDOwbP185OVOLsE63hg.orMrBbxR8WHIiZ9dAnNk3jgEsEU218qtgsQsyATvjsyHUPBQjsa/3JmNLoMM0";
shell = pkgs.zsh;
};
}

View File

@@ -1,8 +0,0 @@
{
...
}:
{
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enableExtensionPack = true;
users.extraGroups.vboxusers.members = [ "eclypse" ];
}