Compare commits

..

No commits in common. "77c4378438ce734081ade2fe31386c05412c81c9" and "2f2bebf17840cd96a4f2d6b6d96a0e38179962a5" have entirely different histories.

5 changed files with 389 additions and 755 deletions

1122
flake.lock

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = [pkgs.attic-client]; environment.systemPackages = [pkgs.attic];
systemd.services.atticd = { systemd.services.atticd = {
enable = true; enable = true;
@ -8,7 +8,7 @@
serviceConfig = { serviceConfig = {
User = "notoh"; User = "notoh";
ExecStart = "${pkgs.attic-client}/bin/attic watch-store kyasshu"; ExecStart = "${pkgs.attic}/bin/attic watch-store kyasshu";
Restart = "always"; Restart = "always";
RestartSec = 30; RestartSec = 30;
}; };