setting up media server

This commit is contained in:
Matt Nish-Lapidus 2025-03-10 14:11:00 -04:00
parent bc18c59d2d
commit 8f3b3c5955
2 changed files with 16 additions and 0 deletions

View file

@ -16,6 +16,11 @@
url = "github:gmodena/nix-flatpak"; # unstable branch
};
nixarr = {
url = "github:rasmus-kirk/nixarr";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-lsp-booster = {
url = "github:slotThe/emacs-lsp-booster-flake";
inputs.nixpkgs.follows = "nixpkgs";
@ -182,6 +187,7 @@
};
modules = [
inputs.sops-nix.nixosModules.sops
inputs.nixarr.nixosModules.default
./hosts/media-server/configuration.nix
];
};

View file

@ -115,6 +115,16 @@
openFirewall = true;
};
programs.nh = {
enable = true;
clean = {
enable = true;
dates = "daily";
extraArgs = "--keep 4";
};
flake = "/home/media-server/nixos-config";
package = pkgs.nh;
};
# enable fish and launch it from bash for interactive shells
programs.fish.enable = true;