Moving stuff around

This commit is contained in:
Joseph Hanson 2024-05-30 23:12:28 -05:00
parent f5983194db
commit d820259c32
4 changed files with 9 additions and 12 deletions

View file

@ -4,7 +4,6 @@
./forgejo
./glances
./monitoring.nix
./nfs
./nginx
./nix-serve
./podman

View file

@ -32,7 +32,7 @@ in
lazydocker
];
config.programs.fish.shellAliases = {
programs.fish.shellAliases = {
# lazydocker --> lazypodman
lazypodman="sudo DOCKER_HOST=unix:///run/podman/podman.sock lazydocker";
};

View file

@ -55,7 +55,7 @@ in
# enable backups
services.postgresqlBackup = mkIf cfg.backup {
enable = lib.mkForce true;
location = backupLocation;
location = cfg.backupLocation;
};
### firewall config

View file

@ -1,12 +1,10 @@
{ config, lib, pkgs, imports, boot, self, inputs, ... }:
{ config, lib, pkgs, ... }:
# Role for workstations
# Covers desktops/laptops, expected to have a GUI and do workloads
# Will have home-manager installs
with config;
{
mySystem = {
de.gnome.enable = true;
@ -15,20 +13,20 @@ with config;
# TODO decide if i drop to bash on pis?
shell.fish.enable = true;
nfs.nas = {
enable = true;
lazy = true;
};
# TODO make nfs server configurable
# nfs.nas = {
# enable = true;
# lazy = true;
# };
system.resticBackup.local.enable = false;
system.resticBackup.remote.enable = false;
};
boot = {
binfmt.emulatedSystems = [ "aarch64-linux" ]; # Enabled for raspi4 compilation
plymouth.enable = true; # hide console with splash screen
};
nix.settings = {