newer recyclarr

This commit is contained in:
Chris Dombroski 2024-08-19 21:54:43 -04:00
parent 5258bdbcd2
commit 9481420c3c
3 changed files with 32 additions and 13 deletions

View file

@ -305,6 +305,22 @@
"type": "github" "type": "github"
} }
}, },
"nixunstable": {
"locked": {
"lastModified": 1723991338,
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"deploy-rs": "deploy-rs", "deploy-rs": "deploy-rs",
@ -313,6 +329,7 @@
"impermanence": "impermanence", "impermanence": "impermanence",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixunstable": "nixunstable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix" "stylix": "stylix"
} }

View file

@ -2,6 +2,7 @@
description = "Chris's system configuration"; description = "Chris's system configuration";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixunstable.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
deploy-rs = { deploy-rs = {
url = "github:serokell/deploy-rs"; url = "github:serokell/deploy-rs";
@ -27,10 +28,11 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = inputs@{ self, nixpkgs, flake-utils, home-manager, deploy-rs outputs = inputs@{ self, nixpkgs, flake-utils, home-manager, deploy-rs
, sops-nix, impermanence, stylix, nixos-hardware, ... }: , impermanence, stylix, nixos-hardware, nixunstable, ... }:
let let
pkgs = import nixpkgs { system = "x86_64-linux"; }; pkgs = import nixpkgs { system = "x86_64-linux"; };
aarch64Pkgs = import nixpkgs { system = "aarch64-linux"; }; aarch64Pkgs = import nixpkgs { system = "aarch64-linux"; };
pkgs-unstable = import nixunstable { system = "x86_64-linux"; };
deployAarch64Pkgs = import nixpkgs { deployAarch64Pkgs = import nixpkgs {
system = "aarch64-linux"; system = "aarch64-linux";
overlays = [ overlays = [
@ -59,7 +61,7 @@
nixosConfigurations = { nixosConfigurations = {
smolboi = nixpkgs.lib.nixosSystem { smolboi = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; inherit pkgs-unstable; };
modules = [ modules = [
stylix.nixosModules.stylix stylix.nixosModules.stylix
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
@ -80,7 +82,7 @@
}; };
zeus = nixpkgs.lib.nixosSystem { zeus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; inherit pkgs-unstable; };
modules = [ modules = [
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
./systems/zeus/configuration.nix ./systems/zeus/configuration.nix
@ -93,7 +95,7 @@
}; };
orangepihole = nixpkgs.lib.nixosSystem { orangepihole = nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; inherit pkgs-unstable; };
modules = [ modules = [
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
./systems/orangepihole/configuration.nix ./systems/orangepihole/configuration.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, pkgs-unstable, ... }:
{ {
imports = [ # Include the results of the hardware scan. imports = [ # Include the results of the hardware scan.
@ -279,14 +279,14 @@
]; ];
}; };
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. pkgs.vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
dive pkgs.dive
podman-tui pkgs.podman-tui
docker-compose pkgs.docker-compose
tcpdump pkgs.tcpdump
ethtool pkgs.ethtool
recyclarr pkgs-unstable.recyclarr
]; ];
persistence."/persist" = { persistence."/persist" = {
hideMounts = true; hideMounts = true;