mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: add fork-cleaner
This commit is contained in:
parent
4b88989b5e
commit
ca991354a8
3 changed files with 32 additions and 5 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -54,6 +54,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"caarlos0": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1687665384,
|
||||||
|
"narHash": "sha256-XARNmyXnmcWeBwfN5YXhiOWHsE3pPojasE1C2OieO7o=",
|
||||||
|
"owner": "caarlos0",
|
||||||
|
"repo": "nur",
|
||||||
|
"rev": "854c0826e775f5f44cc317c724ac6343c7c5d616",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "caarlos0",
|
||||||
|
"repo": "nur",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"catppuccin": {
|
"catppuccin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
|
@ -219,6 +239,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"attic": "attic",
|
"attic": "attic",
|
||||||
|
"caarlos0": "caarlos0",
|
||||||
"catppuccin": "catppuccin",
|
"catppuccin": "catppuccin",
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
|
|
||||||
12
flake.nix
12
flake.nix
|
|
@ -38,6 +38,11 @@
|
||||||
inputs.flake-compat.follows = "flake-compat";
|
inputs.flake-compat.follows = "flake-compat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
caarlos0 = {
|
||||||
|
url = "github:caarlos0/nur";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
flake-compat = {
|
flake-compat = {
|
||||||
url = "github:edolstra/flake-compat";
|
url = "github:edolstra/flake-compat";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
@ -46,19 +51,18 @@
|
||||||
|
|
||||||
outputs = inputs @ {
|
outputs = inputs @ {
|
||||||
self,
|
self,
|
||||||
|
nixpkgs,
|
||||||
nix-darwin,
|
nix-darwin,
|
||||||
home-manager,
|
home-manager,
|
||||||
agenix,
|
agenix,
|
||||||
fenix,
|
fenix,
|
||||||
attic,
|
attic,
|
||||||
catppuccin,
|
catppuccin,
|
||||||
|
caarlos0,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
configuration = {pkgs, ...}:
|
configuration = {pkgs, ...}:
|
||||||
import ./system.nix {
|
import ./system.nix (nixpkgs.lib.recursiveUpdate inputs {inherit pkgs;});
|
||||||
inherit (inputs) agenix fenix attic catppuccin;
|
|
||||||
inherit pkgs;
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
darwinConfigurations.Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
|
darwinConfigurations.Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
agenix,
|
agenix,
|
||||||
fenix,
|
fenix,
|
||||||
catppuccin,
|
catppuccin,
|
||||||
|
caarlos0,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
@ -56,7 +57,6 @@
|
||||||
spicetify-cli
|
spicetify-cli
|
||||||
mkcert
|
mkcert
|
||||||
nerdfix
|
nerdfix
|
||||||
opencv
|
|
||||||
pscale
|
pscale
|
||||||
pyenv
|
pyenv
|
||||||
railway
|
railway
|
||||||
|
|
@ -68,6 +68,7 @@
|
||||||
vivid
|
vivid
|
||||||
xh
|
xh
|
||||||
zoxide
|
zoxide
|
||||||
|
caarlos0.packages.${system}.fork-cleaner
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|
@ -139,6 +140,7 @@
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
agenixModule = agenix.homeManagerModules.age;
|
agenixModule = agenix.homeManagerModules.age;
|
||||||
ctpModule = catppuccin.homeManagerModules.catppuccin;
|
ctpModule = catppuccin.homeManagerModules.catppuccin;
|
||||||
|
caarlosModule = caarlos0.homeManagerModules.default;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.ryanccn.home = "/Users/ryanccn";
|
users.users.ryanccn.home = "/Users/ryanccn";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue