implement deferred apps

This commit is contained in:
TheWanderingCrow 2025-12-29 12:06:24 -05:00
parent cfd0dc1ae0
commit 82416ad749
3 changed files with 69 additions and 21 deletions

65
flake.lock generated
View file

@ -1,5 +1,23 @@
{
"nodes": {
"deferred-apps": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1766929169,
"narHash": "sha256-NtORF4+30hogfSkm6bZh3xsOObkVeoJ2dSEa+zvPgiA=",
"owner": "WitteShadovv",
"repo": "deferred-apps",
"rev": "e6899eaffec705603e8efeb5d72ac1607b525b14",
"type": "github"
},
"original": {
"owner": "WitteShadovv",
"repo": "deferred-apps",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
@ -115,7 +133,7 @@
"iamb-flake": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"rust-overlay": "rust-overlay"
},
"locked": {
@ -185,7 +203,7 @@
},
"nix-secrets": {
"inputs": {
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1765919359,
@ -203,15 +221,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1736883708,
"narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
"owner": "nixos",
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {
"owner": "nixos",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
@ -266,6 +284,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736883708,
"narHash": "sha256-uQ+NQ0/xYU0N1CnXsa2zghgNaOPxWpMJXSUJJ9W7140=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "eb62e6aa39ea67e0b8018ba8ea077efe65807dc8",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1736320768,
"narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
@ -281,7 +315,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1750605355,
"narHash": "sha256-xT8cPLTxlktxI9vSdoBlAVK7dXgd8IK59j7ZwzkkhnI=",
@ -295,7 +329,7 @@
"type": "indirect"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1766201043,
"narHash": "sha256-eplAP+rorKKd0gNjV3rA6+0WMzb1X1i16F5m5pASnjA=",
@ -311,7 +345,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1757745802,
"narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=",
@ -327,7 +361,7 @@
"type": "github"
}
},
"nixpkgs_6": {
"nixpkgs_7": {
"locked": {
"lastModified": 1756696532,
"narHash": "sha256-6FWagzm0b7I/IGigOv9pr6LL7NQ86mextfE8g8Q6HBg=",
@ -348,7 +382,7 @@
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"mnw": "mnw",
"nixpkgs": "nixpkgs_6",
"nixpkgs": "nixpkgs_7",
"systems": "systems_2"
},
"locked": {
@ -367,7 +401,7 @@
},
"nvix": {
"inputs": {
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"nvf": "nvf"
},
"locked": {
@ -401,6 +435,7 @@
},
"root": {
"inputs": {
"deferred-apps": "deferred-apps",
"disko": "disko",
"hardware": "hardware",
"home-manager": "home-manager",
@ -408,7 +443,7 @@
"impermanence": "impermanence",
"nix-darwin": "nix-darwin",
"nix-secrets": "nix-secrets",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"nixpkgs-darwin": "nixpkgs-darwin",
"nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable": "nixpkgs-unstable",
@ -419,7 +454,7 @@
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1736994333,

View file

@ -116,6 +116,7 @@
iamb-flake.url = "github:ulyssa/iamb/v0.0.11-alpha.1";
quadlet-nix.url = "github:SEIAROTg/quadlet-nix";
deferred-apps.url = "github:WitteShadovv/deferred-apps";
# CrOS inputs
nix-secrets.url = "git+ssh://git@github.com/TheWanderingCrow/nix-secrets";

View file

@ -1,4 +1,5 @@
{
inputs,
config,
lib,
pkgs,
@ -10,6 +11,7 @@ let
in
{
imports = lib.flatten [
inputs.deferred-apps.homeManagerModules.default
(map lib.custom.relativeToRoot [
"modules/common/host-spec.nix"
"modules/home"
@ -23,16 +25,26 @@ in
./starship.nix
];
programs.deferredApps = {
enable = true;
packages = builtins.attrValues {
inherit (pkgs.unstable)
orca-slicer
yaak
;
inherit (pkgs)
bitwarden-cli
protonvpn-gui
imagemagick
httpie
;
};
};
home.packages = builtins.attrValues {
inherit (pkgs)
screen
ouch
bitwarden-cli
yaak
vimgolf
httpie
protonvpn-gui
imagemagick
;
};