flake.nix: remove attic && add nixvim
sora: disable attic flake tsuki: switch to attic-client
This commit is contained in:
parent
2f2bebf178
commit
cb382d7f91
5 changed files with 749 additions and 383 deletions
1110
flake.lock
1110
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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"];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = [pkgs.attic];
|
||||
environment.systemPackages = [pkgs.attic-client];
|
||||
|
||||
systemd.services.atticd = {
|
||||
enable = true;
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
serviceConfig = {
|
||||
User = "notoh";
|
||||
ExecStart = "${pkgs.attic}/bin/attic watch-store kyasshu";
|
||||
ExecStart = "${pkgs.attic-client}/bin/attic watch-store kyasshu";
|
||||
Restart = "always";
|
||||
RestartSec = 30;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue