This commit is contained in:
death916 2025-12-26 07:10:27 -08:00
commit 8fc70a6fbc
10 changed files with 95 additions and 125 deletions

View file

@ -9,9 +9,11 @@
{
programs.git = {
enable = true;
userName = "death916";
userEmail = "mail@trentnelson.dev";
extraConfig = {
settings = {
user = {
name = "death916";
email = "mail@trentnelson.dev";
};
credential.helper = "store";
};
};

View file

@ -94,32 +94,6 @@
};
};
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/usr/local/bin/nixos-kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
users.users.adguardhome = {
isSystemUser = true;
group = "adguardhome";
@ -169,7 +143,6 @@
pkgs.jellyfin-ffmpeg
pkgs.jellyfin
unzip
kopia
manix
qemu
virt-manager

View file

@ -19,8 +19,8 @@
services.gnome.gnome-keyring.enable = true;
services.dbus.enable = true; # for nextcloud client
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
#cosmic instead
services.desktopManager.cosmic.enable = true;
# services.displayManager.cosmic-greeter.enable = true;
@ -49,8 +49,7 @@
unstablePkgs.cosmic-session
halloy
conda
inputs.flox.packages.${pkgs.system}.flox
kopia-ui
inputs.flox.packages.${pkgs.stdenv.hostPlatform.system}.flox
wl-clipboard
tail-tray
clementine

View file

@ -8,32 +8,6 @@
virtualisation.docker.enable = true;
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/home/death916/nixconfig/modules/nixos/orac/kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
programs.nh = {
enable = true;
# clean.enable = true;
@ -86,7 +60,6 @@
btop
wget
unzip
kopia
manix
pipes-rs
];

View file

@ -7,32 +7,6 @@
virtualisation.docker.enable = true;
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/usr/local/bin/nixos-kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
programs.nh = {
enable = true;
clean.enable = true;
@ -50,7 +24,6 @@
btop
wget
unzip
kopia
manix
];
}