merge-nixconfigs #14
4 changed files with 9 additions and 12 deletions
|
@ -4,7 +4,6 @@
|
|||
./forgejo
|
||||
./glances
|
||||
./monitoring.nix
|
||||
./nfs
|
||||
./nginx
|
||||
./nix-serve
|
||||
./podman
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -55,7 +55,7 @@ in
|
|||
# enable backups
|
||||
services.postgresqlBackup = mkIf cfg.backup {
|
||||
enable = lib.mkForce true;
|
||||
location = backupLocation;
|
||||
location = cfg.backupLocation;
|
||||
};
|
||||
|
||||
### firewall config
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Reference in a new issue