1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

rm: remove agenix

This commit is contained in:
Ryan Cao 2023-08-02 16:13:17 +08:00
parent 4dd8f4f550
commit 94494a4af2
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
6 changed files with 4 additions and 52 deletions

27
flake.lock generated
View file

@ -1,31 +1,5 @@
{
"nodes": {
"agenix": {
"inputs": {
"darwin": [
"nix-darwin"
],
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1690228878,
"narHash": "sha256-9Xe7JV0krp4RJC9W9W9WutZVlw6BlHTFMiUP/k48LQY=",
"owner": "ryantm",
"repo": "agenix",
"rev": "d8c973fd228949736dedf61b7f8cc1ece3236792",
"type": "github"
},
"original": {
"owner": "ryantm",
"repo": "agenix",
"type": "github"
}
},
"attic": {
"inputs": {
"crane": "crane",
@ -237,7 +211,6 @@
},
"root": {
"inputs": {
"agenix": "agenix",
"attic": "attic",
"catppuccin": "catppuccin",
"discord-applemusic-rich-presence": "discord-applemusic-rich-presence",

View file

@ -20,13 +20,6 @@
inputs.flake-compat.follows = "flake-compat";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
inputs.darwin.follows = "nix-darwin";
};
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
@ -54,7 +47,6 @@
nixpkgs,
nix-darwin,
home-manager,
agenix,
fenix,
attic,
catppuccin,

View file

@ -1,14 +1,12 @@
{
pkgs,
config,
agenixModule,
ctpModule,
discord-applemusic-rich-presence,
...
}: {
home.stateVersion = "23.05";
imports = [
agenixModule
ctpModule
discord-applemusic-rich-presence
./programs/zsh.nix
@ -29,12 +27,8 @@
services.discord-applemusic-rich-presence = {
enable = true;
logFile = "${config.home.homeDirectory}/Library/Logs/discord-applemusic-rich-presence.log";
};
catppuccin.flavour = "frappe";
age.secrets."attic.toml" = {
file = ./secrets/attic.toml.age;
path = "${config.home.homeDirectory}/.config/attic/config.toml";
};
}

Binary file not shown.

View file

@ -1,5 +0,0 @@
let
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFthNLv08xufLf09hObm+COlDdYDL4WuH9f+PZm54M3I";
in {
"attic.toml.age".publicKeys = [main];
}

View file

@ -1,7 +1,6 @@
{
pkgs,
attic,
agenix,
fenix,
catppuccin,
discord-applemusic-rich-presence,
@ -33,9 +32,7 @@
rust-analyzer
nodePackages.typescript-language-server
pkgs."_1password"
age
pkgs.agenix
asciinema
bat
btop
@ -90,7 +87,6 @@
nixpkgs = {
overlays = [
attic.overlays.default
agenix.overlays.default
fenix.overlays.default
discord-applemusic-rich-presence.overlays.default
(import ./overlays/ryan-mono-bin.nix)
@ -128,13 +124,15 @@
"blackhole-16ch"
(noQuarantine "eloston-chromium")
"sf-symbols"
"1password/tap/1password-cli"
];
taps = ["1password/tap"];
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
agenixModule = agenix.homeManagerModules.age;
ctpModule = catppuccin.homeManagerModules.catppuccin;
discord-applemusic-rich-presence = discord-applemusic-rich-presence.homeManagerModules.default;
};