fix hyprland and dolphin

This commit is contained in:
Daniel Bulant 2025-05-01 10:53:16 +02:00
parent fde14a05d8
commit c7ad18f028
No known key found for this signature in database
5 changed files with 35 additions and 5 deletions

View file

@ -68,7 +68,8 @@ plugin {
exec-once=dbus-update-activation-environment --systemd --all exec-once=dbus-update-activation-environment --systemd --all
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
exec-once=/usr/lib/polkit-kde-authentication-agent-1 # exec-once=/usr/lib/polkit-kde-authentication-agent-1
exec-once = systemctl --user start hyprpolkitagent
exec-once=otd-daemon exec-once=otd-daemon
exec-once=lorri daemon exec-once=lorri daemon

View file

@ -157,7 +157,7 @@
# Comment out below for the first time to avoid cache miss, if using flake # Comment out below for the first time to avoid cache miss, if using flake
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = hyprland.packages.${pkgs.system}.hyprland; # package = hyprland.packages.${pkgs.system}.hyprland;
# portalPackage = hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland.override # portalPackage = hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland.override
# { # {
# inherit (pkgs) mesa; # inherit (pkgs) mesa;
@ -269,6 +269,7 @@
nvtopPackages.full nvtopPackages.full
btop btop
lshw lshw
hyprpolkitagent
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

View file

@ -70,6 +70,26 @@
"type": "github" "type": "github"
} }
}, },
"dolphin-overlay": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1743892246,
"narHash": "sha256-AHeavUWjnDPT/hffE5hM8RIew+mZJSSr9tUEiSvZW30=",
"owner": "rumboon",
"repo": "dolphin-overlay",
"rev": "55fec3268972876890d6081d3d76a701c37c01d7",
"type": "github"
},
"original": {
"owner": "rumboon",
"repo": "dolphin-overlay",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -967,6 +987,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"dolphin-overlay": "dolphin-overlay",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins", "hyprland-plugins": "hyprland-plugins",

View file

@ -11,6 +11,10 @@
# inputs.hyprland.follows = "hyprland"; # inputs.hyprland.follows = "hyprland";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
dolphin-overlay = {
url = "github:rumboon/dolphin-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
# suyu = { # suyu = {
# url = "git+https://git.suyu.dev/suyu/nix-flake"; # url = "git+https://git.suyu.dev/suyu/nix-flake";
# inputs.nixpkgs.follows = "nixpkgs"; # inputs.nixpkgs.follows = "nixpkgs";
@ -26,11 +30,14 @@
nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { nixpkgs, hyprland-plugins, hyprland, home-manager, nixpkgs-unstable, nix-gaming,/* suyu, */nix-index-database, ... }@attrs: { outputs = { nixpkgs, dolphin-overlay, hyprland-plugins, hyprland, home-manager, nixpkgs-unstable, nix-gaming,/* suyu, */nix-index-database, ... }@attrs: {
nixosConfigurations.lenovo-nix = nixpkgs.lib.nixosSystem { nixosConfigurations.lenovo-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = attrs; specialArgs = attrs;
modules = [ modules = [
{
nixpkgs.overlays = [ dolphin-overlay.overlays.default ];
}
# ./obs.nix # doesn't work. Use nix-shell -p obs-studio instead # ./obs.nix # doesn't work. Use nix-shell -p obs-studio instead
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;

View file

@ -78,7 +78,7 @@ in
nwg-displays nwg-displays
wireguard-tools wireguard-tools
mongodb-compass mongodb-compass
mongo-tools unstable.mongodb-tools
hashcat hashcat
tldr tldr
dunst dunst
@ -87,7 +87,6 @@ in
wl-clipboard wl-clipboard
nextcloud-client nextcloud-client
kdePackages.plasma-workspace kdePackages.plasma-workspace
kdePackages.partitionmanager
kdePackages.filelight kdePackages.filelight
kdePackages.kate kdePackages.kate
kdePackages.ksystemstats kdePackages.ksystemstats
@ -112,6 +111,7 @@ in
heaptrack heaptrack
cinny-desktop cinny-desktop
gping gping
gparted
# redisinsight # redisinsight
valgrind valgrind
caddy caddy