mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
Init impermanence
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -37,4 +37,8 @@
|
||||
hash = "sha256-T0XkMHJZQiy63/j25nGTkaiDFjc+blmgEVGTAFgVylU=";
|
||||
};
|
||||
};
|
||||
|
||||
home.persistence."/persist".directories = [
|
||||
"Cyber"
|
||||
];
|
||||
}
|
||||
|
||||
+26
-14
@@ -3,18 +3,30 @@
|
||||
pkgs-unstable,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs-unstable;
|
||||
[
|
||||
go
|
||||
claude-code
|
||||
]
|
||||
++ (with pkgs; [
|
||||
nodejs
|
||||
air
|
||||
duckdb
|
||||
python3
|
||||
jq
|
||||
nix-prefetch-github
|
||||
rsync
|
||||
]);
|
||||
home = {
|
||||
packages = with pkgs-unstable;
|
||||
[
|
||||
go
|
||||
claude-code
|
||||
]
|
||||
++ (with pkgs; [
|
||||
nodejs
|
||||
air
|
||||
duckdb
|
||||
python3
|
||||
jq
|
||||
nix-prefetch-github
|
||||
rsync
|
||||
]);
|
||||
|
||||
persistence."/persist" = {
|
||||
directories = [
|
||||
".claude"
|
||||
];
|
||||
files = [".claude.json"];
|
||||
};
|
||||
|
||||
sessionPath = ["$HOME/.local/share/go/bin"];
|
||||
sessionVariables.GOPATH = "$HOME/.local/share/go";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs-unstable,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
bookmarkList =
|
||||
@@ -451,7 +451,7 @@ in {
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs-unstable.darkhttpd}/bin/darkhttpd %h/.local/share/helium-startpage --port 8888 --addr 127.0.0.1 --no-listing";
|
||||
ExecStart = "${pkgs.darkhttpd}/bin/darkhttpd %h/.local/share/helium-startpage --port 8888 --addr 127.0.0.1 --no-listing";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = ["default.target"];
|
||||
|
||||
@@ -136,4 +136,8 @@ in {
|
||||
categories = ["Network" "WebBrowser"];
|
||||
mimeType = ["text/html" "text/xml" "application/xhtml+xml"];
|
||||
};
|
||||
|
||||
home.persistence."/persist".directories = [
|
||||
".config/net.imput.helium"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -6,12 +6,18 @@
|
||||
resources # Resource monitor
|
||||
gnome-clocks # Clocks app
|
||||
gnome-text-editor # Basic graphic text editor
|
||||
ticktick # Todo app
|
||||
pinta # Image editor
|
||||
switcheroo # Convert images between different formats
|
||||
onlyoffice-desktopeditors # Office suite
|
||||
blanket # Listen to different sounds
|
||||
signal-desktop # Messaging app
|
||||
thunar # File explorer
|
||||
|
||||
signal-desktop # Messaging app
|
||||
ticktick # Todo app
|
||||
];
|
||||
|
||||
home.persistence."/persist".directories = [
|
||||
".config/ticktick"
|
||||
".config/Signal"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -6,19 +6,10 @@
|
||||
home.packages = with pkgs; [
|
||||
proton-vpn
|
||||
proton-pass
|
||||
proton-authenticator
|
||||
];
|
||||
|
||||
# Fix Proton Authenticator desktop entry
|
||||
xdg.desktopEntries = {
|
||||
"Proton Authenticator" = {
|
||||
name = "Proton Authenticator";
|
||||
exec = "env WEBKIT_DISABLE_COMPOSITING_MODE=1 ${pkgs.proton-authenticator}/bin/proton-authenticator";
|
||||
icon = "proton-authenticator";
|
||||
type = "Application";
|
||||
categories = ["Utility"];
|
||||
terminal = false;
|
||||
};
|
||||
"Proton Calendar" = {
|
||||
name = "Proton Calendar";
|
||||
exec = ''${config.programs.helium.package}/bin/helium "https://calendar.proton.me"'';
|
||||
@@ -36,4 +27,9 @@
|
||||
terminal = false;
|
||||
};
|
||||
};
|
||||
|
||||
home.persistence."/persist".directories = [
|
||||
".config/protonvpn"
|
||||
".config/Proton Pass"
|
||||
];
|
||||
}
|
||||
|
||||
@@ -36,4 +36,6 @@
|
||||
cmatrix
|
||||
fastfetch
|
||||
];
|
||||
|
||||
home.persistence."/persist".directories = [".config/gh" ".config/gh-dash"];
|
||||
}
|
||||
|
||||
@@ -11,12 +11,11 @@
|
||||
];
|
||||
|
||||
home = {
|
||||
sessionPath = ["$HOME/.local/share/go/bin"];
|
||||
sessionVariables = {
|
||||
COLORTERM = "truecolor";
|
||||
MANPAGER = "bat -l man -p";
|
||||
GOPATH = "$HOME/.local/share/go";
|
||||
};
|
||||
persistence."/persist".files = [".zsh_history"];
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
|
||||
@@ -11,6 +11,8 @@ in {
|
||||
spotatui
|
||||
];
|
||||
|
||||
home.persistence."/persist".directories = [".config/spotatui" ".config/spotify"];
|
||||
|
||||
home.file.".config/spotatui/config.yml".text = ''
|
||||
keybindings:
|
||||
back: q
|
||||
|
||||
Reference in New Issue
Block a user