Switch back to nixpkgs-unstable by default

This commit is contained in:
Oliver Davies 2024-11-12 20:03:29 +00:00
parent 1a081a956b
commit abc0e5d429
6 changed files with 22 additions and 16 deletions

View file

@ -32,6 +32,7 @@ with pkgs;
cachix
ctop
delta
devenv
dog
doppler
entr
@ -68,8 +69,6 @@ with pkgs;
xh
yarn
unstable.devenv
# Scripts.
create-zellij-session
deliver

View file

@ -11,6 +11,17 @@
# Nicely reload system units when changing configs.
systemd.user.startServices = "sd-switch";
# See https://github.com/nix-community/home-manager/issues/2064#issuecomment-2259307514.
# This is a workaround for the following errors that appeared when switching back to unstable:
# - 1: Failed to start unit flameshot.service
# - 2: org.freedesktop.systemd1.NoSuchUnit: Unit tray.target not found.
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
home.stateVersion = "22.05";
programs.home-manager.enable = true;