mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
Auto: cleanup-2026-06-03T08-27-47Z
This commit is contained in:
@@ -364,25 +364,25 @@
|
||||
}
|
||||
{
|
||||
name = "nixpkgs' failing and orphan packages";
|
||||
tags = [ "nixpkgs" "fail" "orphan" "ZH" "zero hydra failure"];
|
||||
tags = ["nixpkgs" "fail" "orphan" "ZH" "zero hydra failure"];
|
||||
keyword = "Zero hydra failure orphan packages";
|
||||
url = "https://zh.fail/failed/by-maintainer/_.html";
|
||||
}
|
||||
{
|
||||
name = "NixOS Manual - Unstable";
|
||||
tags = [ "nixos" "manual" "unstable"];
|
||||
tags = ["nixos" "manual" "unstable"];
|
||||
keyword = "NixOS manual";
|
||||
url = "https://nixos.org/manual/nixos/unstable/";
|
||||
}
|
||||
{
|
||||
name = "Nixpgks Reference Manual - Unstable";
|
||||
tags = [ "nixpkgs" "manual" "reference" "unstable" ];
|
||||
tags = ["nixpkgs" "manual" "reference" "unstable"];
|
||||
keyword = "nixpkgs reference manual";
|
||||
url = "https://nixos.org/manual/nixpkgs/unstable/";
|
||||
}
|
||||
{
|
||||
name = "Nix Reference Manual - 2.34.";
|
||||
tags = [ "nix" "manual" "reference" "2.34"];
|
||||
tags = ["nix" "manual" "reference" "2.34"];
|
||||
keyword = "nix reference manual";
|
||||
url = "https://nix.dev/manual/nix/2.34/nix-2.34.html";
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#self.packages.${pkgs-unstable.system}.hypr-dynamic-cursors-manual
|
||||
#pkgs-unstable.hyprlandPlugins.hypr-dynamic-cursors # currently broken
|
||||
];
|
||||
wayland.windowManager.hyprland.configType = "hyprlang";
|
||||
wayland.windowManager.hyprland.configType = "hyprlang";
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$mod" = "SUPER";
|
||||
"$term" = "kitty";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{inputs, ... }: {
|
||||
{inputs, ...}: {
|
||||
flake.homeModules.notewrapper = {pkgs, ...}: {
|
||||
home.packages = [
|
||||
inputs.notewrapper.packages.${pkgs.system}.default
|
||||
@@ -7,24 +7,24 @@
|
||||
enable = true;
|
||||
force = true;
|
||||
text = ''
|
||||
{
|
||||
"directory": ["~/Documents/Notes/", "~/test/"],
|
||||
"render": true,
|
||||
"jumpToEndOfFileOnLaunch": true,
|
||||
"editor": "neovim",
|
||||
"journalRegex": ".*journal.*",
|
||||
"dateEntry": "# %Y %m %d %a",
|
||||
"newLineOnOpening": true,
|
||||
"backup": {
|
||||
"enable": true,
|
||||
"directory": {
|
||||
"~/Documents/Notes/": "~/kdrive/Notes/",
|
||||
"~/test/": "~/backupTest/"
|
||||
},
|
||||
"interval": "daily",
|
||||
"rsyncArgs": ["-Lqah", "--update"]
|
||||
}
|
||||
}
|
||||
{
|
||||
"directory": ["~/Documents/Notes/", "~/test/"],
|
||||
"render": true,
|
||||
"jumpToEndOfFileOnLaunch": true,
|
||||
"editor": "neovim",
|
||||
"journalRegex": ".*journal.*",
|
||||
"dateEntry": "# %Y %m %d %a",
|
||||
"newLineOnOpening": true,
|
||||
"backup": {
|
||||
"enable": true,
|
||||
"directory": {
|
||||
"~/Documents/Notes/": "~/kdrive/Notes/",
|
||||
"~/test/": "~/backupTest/"
|
||||
},
|
||||
"interval": "daily",
|
||||
"rsyncArgs": ["-Lqah", "--update"]
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,7 +3,8 @@ _: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
||||
/*settings = {
|
||||
/*
|
||||
settings = {
|
||||
# equivalent to the default config
|
||||
#forwardAgent = false;
|
||||
# give errors in home-manager 26.05
|
||||
@@ -16,7 +17,8 @@ _: {
|
||||
#controlMaster = "no";
|
||||
#controlPath = "~/.ssh/master-%r@%n:%p";
|
||||
#controlPersist = "no";
|
||||
};*/
|
||||
};
|
||||
*/
|
||||
};
|
||||
services.ssh-agent.enable = true;
|
||||
home.file.".ssh/config".text = ''
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
command cat "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
custom-eza() { # behaves differently if we just call it or if we pipe initContent
|
||||
if [[ -t 1 ]]; then
|
||||
eza -hlF -aa --color=always --hyperlink --group-directories-first --show-symlinks --icons=always --git --no-permissions "$@"
|
||||
|
||||
@@ -50,6 +50,6 @@ _: {
|
||||
extraConfig = ''
|
||||
Defaults pwfeedback
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,43 +1,42 @@
|
||||
_: {
|
||||
perSystem = {pkgs-unstable, ...}: {
|
||||
perSystem = _: {
|
||||
packages.hypr-dynamic-cursors-manual = {
|
||||
lib,
|
||||
mkHyprlandPlugin,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
lib,
|
||||
mkHyprlandPlugin,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
mkHyprlandPlugin {
|
||||
pluginName = "hypr-dynamic-cursors";
|
||||
version = "0-unstable-2026-05-29";
|
||||
|
||||
mkHyprlandPlugin {
|
||||
pluginName = "hypr-dynamic-cursors";
|
||||
version = "0-unstable-2026-05-29";
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirtCode";
|
||||
repo = "hypr-dynamic-cursors";
|
||||
rev = "1de08deb7d495124ce88b342fecc7e7542d0672f";
|
||||
hash = "sha256-Ck9dFUfj/zDSab16CzsGWEMNeSNDhhDOB0JWeHzVvjk=";
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirtCode";
|
||||
repo = "hypr-dynamic-cursors";
|
||||
rev = "1de08deb7d495124ce88b342fecc7e7542d0672f";
|
||||
hash = "sha256-Ck9dFUfj/zDSab16CzsGWEMNeSNDhhDOB0JWeHzVvjk=";
|
||||
};
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/lib
|
||||
mv out/dynamic-cursors.so $out/lib/libhypr-dynamic-cursors.so
|
||||
|
||||
mkdir -p $out/lib
|
||||
mv out/dynamic-cursors.so $out/lib/libhypr-dynamic-cursors.so
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
passthru.updateScript = nix-update-script {extraArgs = ["--version=branch"];};
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
|
||||
meta = {
|
||||
description = "Plugin to make your Hyprland cursor more realistic";
|
||||
homepage = "https://github.com/VirtCode/hypr-dynamic-cursors";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
};
|
||||
meta = {
|
||||
description = "Plugin to make your Hyprland cursor more realistic";
|
||||
homepage = "https://github.com/VirtCode/hypr-dynamic-cursors";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [donovanglover];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{self, ...}: {
|
||||
_: {
|
||||
flake.nixosModules.development = {
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
RandomizedDelaySec = "20min";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
perSystem = {pkgs, ...}: {
|
||||
packages.custom-gitBackup = pkgs.writeShellApplication {
|
||||
@@ -56,14 +55,14 @@
|
||||
"https://github.com/tomasriveral/fractal-cli.git"
|
||||
"https://github.com/tomasriveral/boids.git"
|
||||
)
|
||||
|
||||
|
||||
LOCAL_BACKUP_DIR="$HOME/.gitBackups"
|
||||
CLOUD_DIR="$HOME/kdrive/Code/gitBackups"
|
||||
|
||||
|
||||
# Create backup directories if they don't exist
|
||||
mkdir -p "$LOCAL_BACKUP_DIR"
|
||||
mkdir -p "$CLOUD_DIR"
|
||||
|
||||
|
||||
notify_error() {
|
||||
local message="$1"
|
||||
notify-send "Git Backup Failed" "$message"
|
||||
@@ -72,12 +71,12 @@
|
||||
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
|
||||
|
||||
}
|
||||
|
||||
|
||||
for REPO in "''${REPOS[@]}"; do
|
||||
# Extract repo name (without .git)
|
||||
REPO_NAME=$(basename "$REPO" .git)
|
||||
LOCAL_REPO_PATH="$LOCAL_BACKUP_DIR/$REPO_NAME.git"
|
||||
|
||||
|
||||
if [ ! -d "$LOCAL_REPO_PATH" ]; then
|
||||
# Clone mirror if it doesn't exist
|
||||
echo "Cloning $REPO..."
|
||||
@@ -88,13 +87,13 @@
|
||||
cd "$LOCAL_REPO_PATH" || { notify_error "Cannot enter $LOCAL_REPO_PATH"; continue; }
|
||||
git remote update || { notify_error "Failed to update $REPO"; continue; }
|
||||
fi
|
||||
|
||||
|
||||
# Rsync to cloud directory (only changes, preserve permissions)
|
||||
echo "Syncing $REPO_NAME to cloud..."
|
||||
rsync -a --delete "$LOCAL_REPO_PATH/" "$CLOUD_DIR/$REPO_NAME/" || { notify_error "Failed to rsync $REPO_NAME"; continue; }
|
||||
|
||||
|
||||
done
|
||||
|
||||
|
||||
echo "All backups completed."
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
{self, inputs, ...}: {
|
||||
{self, ...}: {
|
||||
flake.nixosModules.otherUtils =
|
||||
# try to keep packages here at a minium. Preferably use a dedicated file
|
||||
{
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-calculator
|
||||
snapshot
|
||||
|
||||
Reference in New Issue
Block a user