Replace ren
This commit is contained in:
parent
48143906d5
commit
731583bcd5
6 changed files with 74 additions and 10 deletions
31
systems/ren/system.nix
Normal file
31
systems/ren/system.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
agenix,
|
||||
jellyfin-exporter,
|
||||
nixpkgs,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = system;
|
||||
specialArgs = {
|
||||
# This selects the package for the current system and passes it
|
||||
exporter-pkg = jellyfin-exporter.packages.${system}.default;
|
||||
system = system;
|
||||
};
|
||||
|
||||
modules = [
|
||||
{
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
networking.hostName = "Ren";
|
||||
networking.domain = "";
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
./users.nix
|
||||
./hardware.nix
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue