No description
  • Nix 39.5%
  • Shell 31.7%
  • QML 28.8%
Find a file
Florian RICHER 5da8de4709
All checks were successful
check / check (push) Successful in 39s
Update OS
2026-04-16 12:00:39 +02:00
.gitea/workflows Add -y flag in apt install 2024-05-24 21:24:52 +02:00
.vscode Add vscode autocomplete for nix (nixd) 2024-04-28 20:07:42 +02:00
assets/backgrounds home(laptops): Add background images 2026-03-08 15:39:34 +01:00
hosts Fix desktop too + begin write quickshell conf 2026-03-27 00:23:49 +01:00
modules home(hyprland): Enable gnome-keyring + fix portals 2026-04-16 11:38:09 +02:00
overlays kwin: Remove syncobj patch 2024-05-31 12:15:48 +02:00
scripts scripts: Add scripts to install / configure age keys 2025-08-29 19:09:07 +02:00
secrets secrets: Migrate to agenix + remove deprecated homeserver config 2026-03-11 13:52:32 +01:00
tips docs: Improve docs 2025-08-29 19:08:37 +02:00
.envrc flake.nix: Add comment, devShells and cleanup redendant inputs 2024-10-28 21:16:27 +01:00
.gitattributes perso-desktop: Change background 2026-03-08 11:30:14 +01:00
.gitignore homeserver: Implement traefik 2025-08-28 21:17:03 +02:00
flake.lock Update OS 2026-04-16 12:00:39 +02:00
flake.nix home(zed-editor): Fix LSP + DAP for QML and Rust 2026-04-10 21:58:12 +02:00
LICENSE Initial commit 2023-02-01 19:47:00 +01:00
README.md docs: Improve docs 2025-08-29 19:08:37 +02:00

Usefull commands

Configure

NixOS

nixos-rebuild switch --flake flake_path_directory#hostname
nix flake update --extra-experimental-features "nix-command flakes"

Home manager on standalone Linux

Already explain here

Show changements between revisions

nix profile diff-closures --profile /nix/var/nix/profiles/system
nix store diff-closures /nix/var/nix/profiles/system-rev1-link /nix/var/nix/profiles/system-rev2-link

Clean system

List all profiles

nix profile history --profile /nix/var/nix/profiles/system

Remove all profiles older than 7 days

sudo nix profile wipe-history --older-than 7d --profile /nix/var/nix/profiles/system
nix profile wipe-history --older-than 7d --profile ~/.local/state/nix/profiles/home-manager

Clean up all useless store from old profiles

sudo nix store gc --debug

Optimize Store

nix-store --optimise

error: cached failure of attribute 'nixosConfigurations.perso-desktop.config.system.build.toplevel'

sudo rm -fr /root/.cache/nix/

Usefull links

Sources