4 Commits

Author SHA1 Message Date
91f4fe8b13 Add intiface and minecraft 2024-11-13 16:41:53 -08:00
8be0deed4b Enable nix-ld 2024-10-10 15:08:09 -07:00
9ed9e10931 Disable firewall 2024-10-10 15:06:29 -07:00
75c76ef032 Fix restic daily backups 2024-10-06 18:35:00 -07:00
2 changed files with 13 additions and 10 deletions

View File

@@ -1,11 +1,5 @@
{ pkgs, config, secrets, ... }:
{
environment.systemPackages = with pkgs; [
restic
libnotify
backblaze-b2
];
systemd.services = {
notify-backup-b2-failed = {
description = "Notify on failed backup to B2";
@@ -26,8 +20,8 @@
environment.etc = {
"restic-env".text = ''
export B2_ACCOUNT_ID="${secrets.b2.accountId}"
export B2_ACCOUNT_KEY="${secrets.b2.accountKey}"
B2_ACCOUNT_ID="${secrets.b2.accountId}"
B2_ACCOUNT_KEY="${secrets.b2.accountKey}"
'';
"restic-password".text = secrets.restic.password;
};

View File

@@ -9,7 +9,10 @@
./printing.nix
];
networking.hostName = "marauder";
networking = {
hostName = "marauder";
firewall.enable = false;
};
fileSystems = {
"/" = {
@@ -86,8 +89,10 @@
ffmpeg
(callPackage ./ffcheck.nix { })
# Productivity
# Misc
obsidian
intiface-central
prismlauncher
]);
};
@@ -97,6 +102,10 @@
dedicatedServer.openFirewall = true;
};
programs.nix-ld = {
enable = true;
};
services.xserver = {
enable = true;
videoDrivers = [ "nvidia" ];