diff --git a/Makefile b/Makefile index 01241a6..ce06418 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,10 @@ add-pre-commit-hook: chmod +x .git/hooks/pre-commit +.PHONY: cleanup +cleanup: + sudo nix-store --optimise && sudo nix-collect-garbage -d + .PHONY: test test: echo "Find nix files" diff --git a/README.md b/README.md index b2633ea..f4111b1 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ cp -r ~/nixos-cesium/config/* /etc/nixos/ # Remember to activate vm-guest.nix or vm-host.nix in configuration.nix nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz home-manager +nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable nix-channel --update # Konfiguration anwenden diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 7e2a11b..0a929ef 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -21,5 +21,14 @@ system.stateVersion = "25.11"; nixpkgs.config.allowUnfree = true; + nixpkgs.overlays = [ + (final: prev: { + rustdesk-flutter = + let + unstable = import { config = prev.config; }; + in + unstable.rustdesk-flutter; + }) + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; }