flake.nix: remove attic && add nixvim

sora: disable attic flake
This commit is contained in:
notohh 2024-10-26 21:59:41 -04:00
parent 2f2bebf178
commit 80ead85023
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 747 additions and 381 deletions

1110
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -63,6 +63,8 @@
hyprpaper.url = "github:hyprwm/hyprpaper";
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo";
hyprsunset.url = "github:hyprwm/hyprsunset";
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
@ -70,7 +72,6 @@
### other stuff
nix-gaming.url = "github:fufexan/nix-gaming";
attic.url = "github:zhaofengli/attic";
nur.url = "github:nix-community/NUR";
yazi.url = "github:sxyazi/yazi";
helix.url = "github:helix-editor/helix";
@ -81,8 +82,6 @@
stylix.url = "github:danth/stylix";
eww.url = "github:elkowar/eww";
anyrun.url = "github:Kirottu/anyrun";
# wezterm.url = "github:notohh/wezterm?dir=nix&ref=nix-add-overlay";
botoh.url = "git+https://git.flake.sh/notohh/botoh";
zen-browser.url = "github:fufexan/zen-browser-flake";
deploy-rs = {
@ -97,5 +96,9 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}

View file

@ -3,6 +3,6 @@
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.home-manager
inputs.nur.nixosModules.nur
inputs.attic.nixosModules.atticd
# inputs.attic.nixosModules.atticd
];
}

View file

@ -1,18 +1,15 @@
{
inputs,
config,
pkgs,
...
}: {
imports = [inputs.attic.nixosModules.atticd];
sops.secrets.attic = {};
environment.systemPackages = [pkgs.attic];
environment.systemPackages = [pkgs.attic-client];
services.atticd = {
enable = true;
credentialsFile = config.sops.secrets.attic.path;
environmentFile = config.sops.secrets.attic.path;
settings = {
listen = "[::]:8200";
allowed-hosts = ["cache.flake.sh"];