mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
Merge branch 'main' of https://github.com/death916/nixconfig
This commit is contained in:
commit
8fc70a6fbc
10 changed files with 95 additions and 125 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue