Merge pull request #20 from tomasriveral/desktop

This commit is contained in:
2026-06-08 15:32:55 +00:00
committed by GitHub
15 changed files with 172 additions and 123 deletions
Generated Executable → Regular
+84 -25
View File
@@ -11,11 +11,11 @@
]
},
"locked": {
"lastModified": 1779768519,
"narHash": "sha256-2n/447oNfAZrl1yncafLPgXMx5tuTF6T2B+zI/zFYkI=",
"lastModified": 1780375472,
"narHash": "sha256-Q8RAJoYlakA6B2I5DVcuxzNbhCNU1nnIjqQZYP1KGrM=",
"owner": "caelestia-dots",
"repo": "cli",
"rev": "64a5507e74f6c7d0c29f9131964412f8f8c4dd89",
"rev": "d1c8c8fc09738d1b40576e97c274b4a11a2e0ac7",
"type": "github"
},
"original": {
@@ -27,17 +27,18 @@
"caelestia-shell": {
"inputs": {
"caelestia-cli": "caelestia-cli",
"m3shapes": "m3shapes",
"nixpkgs": [
"nixpkgs-unstable"
],
"quickshell": "quickshell"
},
"locked": {
"lastModified": 1780196414,
"narHash": "sha256-iXmyWULTZuRd68xRL79e9GyYL9FZ6gfh6zl1PPlWX2A=",
"lastModified": 1780907625,
"narHash": "sha256-YH1LHLhoAlSmXmVz9qhY+QLFWbLVFJWSaPJ3ORr5grQ=",
"owner": "caelestia-dots",
"repo": "shell",
"rev": "63bb82762bb29ac9b7fcd5b97839abae721ce860",
"rev": "66a9f2f220a9cc6a29ce4b66691f0117bdd35704",
"type": "github"
},
"original": {
@@ -53,11 +54,11 @@
]
},
"locked": {
"lastModified": 1780290312,
"narHash": "sha256-eTAlX0CwgB84Ts3GaBd944A3DRXVMzgA0EqroZBISUo=",
"lastModified": 1780894562,
"narHash": "sha256-c3430xwxwhHipl3jigUGMMBfpaMylDqytW/kdmB3ZGs=",
"owner": "nix-community",
"repo": "disko",
"rev": "115e5211780054d8a890b41f0b7734cafad54dfe",
"rev": "24fed06cac83bcc44ac8efbb57cab1a82fa0bedc",
"type": "github"
},
"original": {
@@ -109,11 +110,11 @@
]
},
"locked": {
"lastModified": 1780361225,
"narHash": "sha256-wnV9ttf4fPWNonBIQmvlrSlNpQYgx5HgWWd007mwIFA=",
"lastModified": 1780883961,
"narHash": "sha256-WU6SUrESuPiEXEUvX4D51AgWrXRJty+sLJBwBaDBGqE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e28654b71096e08c019d4861ca26acb646f583d8",
"rev": "4eb4fec41674d5b059aa2eedf0f98453890546fa",
"type": "github"
},
"original": {
@@ -138,6 +139,23 @@
"type": "github"
}
},
"m3shapes": {
"flake": false,
"locked": {
"lastModified": 1777812556,
"narHash": "sha256-E5nqOucRQBWKuT31AMekmfgMywRdHgSbU86R7t4BKKA=",
"owner": "soramanew",
"repo": "m3shapes",
"rev": "356825d31f16052a782735cce264331cba0cb71b",
"type": "github"
},
"original": {
"owner": "soramanew",
"repo": "m3shapes",
"rev": "356825d31f16052a782735cce264331cba0cb71b",
"type": "github"
}
},
"microPlugins-vivify": {
"flake": false,
"locked": {
@@ -154,6 +172,29 @@
"url": "https://codeberg.org/gibbert/micro-vivify"
}
},
"nix-git-cherry-picker": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1780928816,
"narHash": "sha256-s4wU4nfs8xsXvwPtD0yebTPaOgmtDesmEvWuKFES6cE=",
"owner": "tomasriveral",
"repo": "nix-git-cherry-picker",
"rev": "785b747ebca67f3e11b49ef5a85f9d3635bfe85d",
"type": "github"
},
"original": {
"owner": "tomasriveral",
"repo": "nix-git-cherry-picker",
"type": "github"
}
},
"nixos-grub-themes": {
"inputs": {
"nixpkgs": "nixpkgs"
@@ -203,6 +244,22 @@
"type": "github"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1780928217,
"narHash": "sha256-Cvq31DIGCKet/UFsJd20YIwCoZmX91xQBV5oiR1bU1k=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2ef2f7e4a2999ffaab2ac987e69f5f8e29ec73cf",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-notifier": {
"inputs": {
"flake-utils": [
@@ -228,11 +285,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1780365719,
"narHash": "sha256-QfWfccTN+70ZQ4m2qlU9PiKfz2Yppq94058iJyARNwc=",
"lastModified": 1780747962,
"narHash": "sha256-IX7G1dlKrOqPOImfbo7ADDfV5yU1+j+MRChI3TL4tAA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ffa10e26ae11d676b2db836259889f1f571cb14f",
"rev": "cbb5cf358f50aa6acc9efd6113b7bcfbc352cd73",
"type": "github"
},
"original": {
@@ -244,11 +301,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1780453794,
"narHash": "sha256-bXMRa9VTsHSPXL4Cw8R6JJLQeY3Y/IP4+YJCYVmQ7FY=",
"lastModified": 1780734595,
"narHash": "sha256-DmTfP92QFYRLOGXlMIE54MAgxSJjDWocl3gRNOu72Os=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6b316287bae2ee04c9b93c8c858d930fd07d7338",
"rev": "9b696460ac78b5ccfc17c854d8c976f20456e943",
"type": "github"
},
"original": {
@@ -268,11 +325,11 @@
]
},
"locked": {
"lastModified": 1780404062,
"narHash": "sha256-XZziB7gcLwkhNyMoH8xDpwFktxBtzHx7zULyE4dHQfo=",
"lastModified": 1780908812,
"narHash": "sha256-syxEJP0NNgVZYHp/zRVuz32VYf+ULD9itZk7V06SCos=",
"owner": "tomasriveral",
"repo": "notewrapper",
"rev": "0f9ec32bfcfc4c111eaefe9e44d416afc79940ee",
"rev": "e670ef935f0dd87dc8a8c6982147a9b8dce7565e",
"type": "github"
},
"original": {
@@ -289,11 +346,11 @@
]
},
"locked": {
"lastModified": 1779430452,
"narHash": "sha256-zTslhsxLqUlRTML506iougTGzyR38Fzhzn7t4KDEuuE=",
"lastModified": 1780303737,
"narHash": "sha256-7HgdJBG4BgAPDyHKKxWtxj7nziqsQo6zQCXtwy+L9fs=",
"ref": "refs/heads/master",
"rev": "4b4fca3224ab977dc515ac0bb78d00b3dfa71e00",
"revCount": 819,
"rev": "b66495fcc5022681b56b61f928c7acbe910e722c",
"revCount": 821,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},
@@ -311,8 +368,10 @@
"home-manager": "home-manager",
"import-tree": "import-tree",
"microPlugins-vivify": "microPlugins-vivify",
"nix-git-cherry-picker": "nix-git-cherry-picker",
"nixos-grub-themes": "nixos-grub-themes",
"nixpkgs": "nixpkgs_2",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-notifier": "nixpkgs-notifier",
"nixpkgs-unstable": "nixpkgs-unstable",
"notewrapper": "notewrapper"
+10 -1
View File
@@ -5,6 +5,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached
# This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone
#nixpkgs-local.url = "path:/home/tomasr/devel/fugit2-gpgme";
@@ -25,6 +26,11 @@
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
nix-git-cherry-picker = {
url = "github:tomasriveral/nix-git-cherry-picker";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
caelestia-shell = {
# based on quickshell. See https://github.com/caelestia-dots/shell
url = "github:caelestia-dots/shell";
@@ -52,6 +58,8 @@
"hplip"
"nvidia-x11"
"nvidia-settings"
"steam"
"steam-unwrapped"
"cheatsheet.nvim"
];
mkUnfreePredicate = pkg:
@@ -65,8 +73,9 @@
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
pkgs-local = mkPkgs inputs.nixpkgs-unstable;
#pkgs-local = mkPkgs inputs.nixpkgs-local;
pkgs-master = mkPkgs inputs.nixpkgs-master;
in {
inherit pkgs pkgs-unstable pkgs-local;
inherit pkgs pkgs-unstable pkgs-local pkgs-master;
};
}
// (inputs.import-tree ./modules));
+29 -19
View File
@@ -10,6 +10,35 @@
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
];
};
flake.homeModules.caelestia-desktop = _: {
# for some reason nvidia drivers or I don't know what break the lock. (activate even when use, crash, etc.)
programs.caelestia.settings.general.idle = {
lockBeforeSleep = false;
inhibitWhenAudio = true;
timeouts = [];
};
};
flake.homeModules.caelestia-laptop = _: {
programs.caelestia.settings.general.idle = {
lockBeforeSleep = true;
inhibitWhenAudio = true;
timeouts = [
{
timeout = 180;
idleAction = "lock";
}
{
timeout = 300;
idleAction = "dpms off"; # what's that?
returnAction = "dpms on";
}
{
timeout = 600;
idleAction = ["systemctl" "suspend-then-hibernate"];
}
];
};
};
flake.homeModules.caelestia = _: let
sisyphe = ../../assets/sisyphe.gif;
pepe-music = ../../assets/pepe-music.gif;
@@ -101,25 +130,6 @@
];
criticalLevel = 3;
};
idle = {
lockBeforeSleep = true;
inhibitWhenAudio = true;
timeouts = [
{
timeout = 180;
idleAction = "lock";
}
{
timeout = 300;
idleAction = "dpms off"; # what's that?
returnAction = "dpms on";
}
{
timeout = 600;
idleAction = ["systemctl" "suspend-then-hibernate"];
}
];
};
};
background = {
desktopClock = {
+3 -3
View File
@@ -51,7 +51,7 @@
flake.homeModules.hyprland-desktop = _: {
wayland.windowManager.hyprland.settings = {
monitor = [
", highres@highrr, auto, 1"
", highres@highrr, auto, 0.75"
];
};
};
@@ -65,8 +65,7 @@
home.sessionVariables.NIXOS_OZONE_WL = "1";
wayland.windowManager.hyprland.plugins = [
#pkgs-unstable.hyprlandPlugins.hyprspace # currently broken
#self.packages.${pkgs-unstable.system}.hypr-dynamic-cursors-manual
#pkgs-unstable.hyprlandPlugins.hypr-dynamic-cursors # currently broken
pkgs-unstable.hyprlandPlugins.hypr-dynamic-cursors
];
wayland.windowManager.hyprland.configType = "hyprlang";
wayland.windowManager.hyprland.settings = {
@@ -279,6 +278,7 @@
#"custom-obsidianbackup" # backups the obsidian notes to kdrive and to a timed hidden dir (~/.Notes.backup/)
#"QS-notifycache" # builds the cache that will be used for the notification history
"sleep 4 & caelestia-shell" #works better if it sleeps a bit before
"sleep 20 && ngcp pull --automatic" # see github.com/tomasriveral/nix-git-cherry-picker
/*
We stopped using that ######################### maybe we should desactivate those scripts
# login autostart
+1 -1
View File
@@ -73,7 +73,7 @@
notify-send "rclone kdrive failed" "$output"
matrix-commander-rs --verbose -m "rclone kdrive failed.<br>Error: <pre>$output</pre><br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
fi
'';
};
+5 -2
View File
@@ -7,7 +7,7 @@
flake.nixosConfigurations.desktop = inputs.nixpkgs.lib.nixosSystem {
#system = "x86_64-linux";
specialArgs = {
inherit (self) pkgs-unstable;
inherit (self) pkgs-unstable pkgs-master;
};
modules = with self.nixosModules; [
# important do not remove
@@ -27,6 +27,7 @@
documentation
disk # this only installs some disk utilities. disko will format the drives
fonts
games
hardware-configuration-desktop
hdd
hyprland
@@ -52,6 +53,7 @@
inputs.caelestia-shell.homeManagerModules.default
anki
caelestia
caelestia-desktop
cursor
development
eza
@@ -63,6 +65,7 @@
librewolf
mullvad
neovim
nix-git-cherry-picker-desktop
notewrapper
oh-my-zsh
ripgrep
@@ -102,7 +105,7 @@
useUserPackages = true;
extraSpecialArgs = {
inherit (self) pkgs-unstable;
inherit (self) pkgs-unstable pkgs-master;
inherit self;
};
};
+3 -2
View File
@@ -6,7 +6,7 @@
flake.nixosConfigurations.laptop = inputs.nixpkgs.lib.nixosSystem {
#system = "x86_64-linux";
specialArgs = {
inherit (self) pkgs-unstable pkgs-local;
inherit (self) pkgs-unstable pkgs-local pkgs-master;
};
modules = with self.nixosModules; [
# important do not remove
@@ -53,6 +53,7 @@
inputs.caelestia-shell.homeManagerModules.default
anki
caelestia
caelestia-laptop
cursor
development
eza
@@ -104,7 +105,7 @@
useUserPackages = true;
extraSpecialArgs = {
inherit (self) pkgs-unstable pkgs-local;
inherit (self) pkgs-unstable pkgs-local pkgs-master;
inherit self;
};
};
+4 -4
View File
@@ -150,7 +150,7 @@
matrix-commander-rs --verbose -m "Nix auto cleanup. Everything OK.<br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
else
notify-send "Nix auto cleanup" "No changes"
git -C "$FLAKE_DIR" push
@@ -163,7 +163,7 @@
matrix-commander-rs --verbose -m "Nix auto cleanup failed.<br>Error: <pre>$ERROR_MSG</pre><br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
git -C "$FLAKE_DIR" reset --hard "pre-cleanup-$TIME"
fi
@@ -220,7 +220,7 @@
matrix-commander-rs --verbose -m "Nix auto cleanup. Everything OK.<br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
else
notify-send "Nix auto cleanup" "No changes"
git -C "$FLAKE_DIR" push
@@ -233,7 +233,7 @@
matrix-commander-rs --verbose -m "Nix auto cleanup failed.<br>Error: <pre>$ERROR_MSG</pre><br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
git -C "$FLAKE_DIR" reset --hard "pre-cleanup-$TIME"
fi
+4 -4
View File
@@ -130,7 +130,7 @@
matrix-commander-rs --verbose -m "Flake rebuild succesfull.<br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
else
notify-send "Flake autoupdate" "No changes"
git -C "$FLAKE_DIR" push
@@ -143,7 +143,7 @@
matrix-commander-rs --verbose -m "Flake rebuild failed.<br>Error: <pre>$ERROR_MSG</pre><br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
git -C "$FLAKE_DIR" reset --hard "pre-autoupdate-$TIME"
fi
@@ -191,7 +191,7 @@
matrix-commander-rs --verbose -m "Flake rebuild succesfull.<br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
else
notify-send "Flake autoupdate" "No changes"
git -C "$FLAKE_DIR" push
@@ -204,7 +204,7 @@
matrix-commander-rs --verbose -m "Flake rebuild failed.<br>Error: <pre>$ERROR_MSG</pre><br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
git -C "$FLAKE_DIR" reset --hard "pre-autoupdate-$TIME"
fi
@@ -54,7 +54,7 @@
"Set your identity\n or remove this warning by removing the custom-gitnotify line in\n ~/nixos/modules/applications/hyprland.nix"
matrix-commander-rs --verbose -m "Git not configured.<br>Set your identify or remove this warning by removing the custom-gitnotify in ~/nixos/modules/applications/hyprland.nix<br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
fi
'';
};
+1 -1
View File
@@ -47,7 +47,7 @@
"localNotify": true,
"matrix": {
"enable": true,
"room": "!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU",
"room": "!BXRRokBmEdNOyYdfOF:matrix.org",
"ping": true,
"userPing": "@notificationbot_0000",
"userPingServer": "matrix.org"
+1 -1
View File
@@ -69,7 +69,7 @@
notify-send "Git Backup Failed" "$message"
matrix-commander-rs --verbose -m "Git Backup Failed: $message <br><a href=\"https://matrix.to/#/@notificationbot_0000:matrix.org\">@notificationbot_0000</a>" \
--html \
-r "\!7j-78_02dHROeLj4Ns8F12eo4IiZGv4zNsQ_1-WlyIU"
-r "\!BXRRokBmEdNOyYdfOF:matrix.org"
}
+18
View File
@@ -0,0 +1,18 @@
{inputs, ...}: {
flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: {
home.packages = [
inputs.nix-git-cherry-picker.packages.${pkgs.system}.default
];
home.file.".config/nix-git-cherry-picker/config.json" = {
enable = true;
text = ''
{
"localBranch": "desktop",
"remoteBranch": "laptop",
"nixConfigPath": "/home/tomasr/nixos/"
}
'';
force = true;
};
};
}
+8
View File
@@ -0,0 +1,8 @@
I am testing the tool ngcp i created. If this file disapears. It means I coded it wrong.
The problem before was that it did:
1. cherry pick
2. push
I didn't pulled changed before cherry picking
-59
View File
@@ -1,59 +0,0 @@
audacity.x86_64
dolphin.x86_64 may be customized or nautilus cust
ollama.x86_64
plymouth.x86_64
quickshell.x86_64
raylib-devel.x86_64
some notification daemon 0.12-32.fc43
tor.x86_64
torbrowser-launcher.noarch
maybe configure a bit ripgrep? majuscules
organize packages in pkgs list
why frameworktooltui settings dont apply?
things to do?
(maybe something periodic) deadnix and aljandra to clean up the repo
Review windowrules when only one window
setup lsp in neovim
Setup obsidian (plugsins, etc.)
setup kdrive as a git remote
setup tampermonkey
with quickshell:
fix player control icons
give battery percentage
maybe modify some of the images (like the notification body)
do a full bar (no ugly empty space at top)
add brightness slider
maybe change sound icon by volume level
maybe incorpore the fast fourier transform code
maybe write some notification center -- done. needs some style
battery dashboard https://www.reddit.com/r/hyprland/comments/1rkiajd/a_beautiful_battery_system_dashboard_on_hyprland/
have a small terminal popup for some usages (like custom-launch)
some meteo center with dates, etc
show name of the app
make the connection tray prettier? Maybe with a full rewrite
maybe some kind of overview?
show battery percentage
see what people did with quickshell and take inspiration
work on quickshell color palette to match gruvbox