don't overlay garage and add some stable packages

This commit is contained in:
cy 2025-02-09 14:32:46 -05:00
parent 3f68b25133
commit 5e877bd3d0
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 35 additions and 26 deletions

34
flake.lock generated
View file

@ -935,22 +935,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-garage": {
"locked": {
"lastModified": 1736921030,
"narHash": "sha256-A7knAvBOwoM5X7oNdIOKvuXYtXJpuR4O8iKHIk8EwOI=",
"owner": "cything",
"repo": "nixpkgs",
"rev": "97f27249297bf5fbc563014ae9d4884dee27f1e0",
"type": "github"
},
"original": {
"owner": "cything",
"ref": "garage-module",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-regression": { "nixpkgs-regression": {
"locked": { "locked": {
"lastModified": 1643052045, "lastModified": 1643052045,
@ -1015,6 +999,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable_4": {
"locked": {
"lastModified": 1738843498,
"narHash": "sha256-7x+Q4xgFj9UxZZO9aUDCR8h4vyYut4zPUvfj3i+jBHE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f5a32fa27df91dfc4b762671a0e0a859a8a0058f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1730531603, "lastModified": 1730531603,
@ -1252,7 +1252,7 @@
"niri": "niri", "niri": "niri",
"nix-ld": "nix-ld", "nix-ld": "nix-ld",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"nixpkgs-garage": "nixpkgs-garage", "nixpkgs-stable": "nixpkgs-stable_4",
"nixvim": "nixvim", "nixvim": "nixvim",
"nvim-github-theme": "nvim-github-theme", "nvim-github-theme": "nvim-github-theme",
"plasma-manager": "plasma-manager", "plasma-manager": "plasma-manager",

View file

@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -78,8 +79,6 @@
inputs.home-manager.follows = "home-manager"; inputs.home-manager.follows = "home-manager";
}; };
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
nvim-github-theme = { nvim-github-theme = {
url = "github:projekt0n/github-nvim-theme"; url = "github:projekt0n/github-nvim-theme";
flake = false; flake = false;
@ -158,7 +157,7 @@
overlays = [ overlays = [
inputs.niri.overlays.niri inputs.niri.overlays.niri
inputs.rust-overlay.overlays.default inputs.rust-overlay.overlays.default
] ++ import ./overlay; ] ++ (import ./overlay { inherit inputs; });
}; };
in in
{ {
@ -187,14 +186,10 @@
modules = [ modules = [
{ {
nixpkgs = { inherit pkgs; }; nixpkgs = { inherit pkgs; };
disabledModules = [
"services/web-servers/garage.nix"
];
} }
./hosts/chunk ./hosts/chunk
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
./modules ./modules
(inputs.nixpkgs-garage + "/nixos/modules/services/web-servers/garage.nix")
]; ];
}; };

View file

@ -66,7 +66,6 @@
mpv mpv
yt-dlp yt-dlp
signal-desktop signal-desktop
azure-cli
pavucontrol pavucontrol
btop btop
grim grim

View file

@ -1,4 +1,4 @@
let { inputs }: let
overlays = [ overlays = [
./conduwuit ./conduwuit
./attic ./attic
@ -7,3 +7,18 @@ let
importedOverlays = map (m: import m) overlays; importedOverlays = map (m: import m) overlays;
in in
importedOverlays importedOverlays
++
[
(final: prev:
let
pkgFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg};
stable = inputs.nixpkgs-stable;
in
{
bitwarden-cli = pkgFrom stable "bitwarden-cli";
roundcube = pkgFrom stable "roundcube";
lldb = pkgFrom stable "lldb";
calibre = pkgFrom stable "calibre";
}
)
]