setting up media server
This commit is contained in:
parent
bc18c59d2d
commit
8f3b3c5955
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue