Compare commits
No commits in common. "09da72a0bf42248b8cff62c6a73fb87f7d94424f" and "78195b6719aaf7cfb131a8012a551f049849b552" have entirely different histories.
09da72a0bf
...
78195b6719
@ -11,6 +11,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO once i have a better way to manage multiarch packages
|
||||||
# 33.0.3p2 as suggested by https://xdaforums.com/t/guide-january-3-2024-root-pixel-7-pro-unlock-bootloader-pass-safetynet-both-slots-bootable-more.4505353/
|
# 33.0.3p2 as suggested by https://xdaforums.com/t/guide-january-3-2024-root-pixel-7-pro-unlock-bootloader-pass-safetynet-both-slots-bootable-more.4505353/
|
||||||
# android tools versions [ 34.0.0, 34.0.5 ) causes bootloops somehow and 34.0.5 isn't in nixpkgs yet
|
# android tools versions [ 34.0.0, 34.0.5 ) causes bootloops somehow and 34.0.5 isn't in nixpkgs yet
|
||||||
pkg-android-tools.url = "github:NixOS/nixpkgs/55070e598e0e03d1d116c49b9eff322ef07c6ac6";
|
pkg-android-tools.url = "github:NixOS/nixpkgs/55070e598e0e03d1d116c49b9eff322ef07c6ac6";
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
{ config, lib, pkgs, ...}:
|
{ config, lib, pkgs, ...}:
|
||||||
let
|
|
||||||
sleep = "${pkgs.coreutils}/bin/sleep";
|
|
||||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./desktop-common.nix
|
./desktop-common.nix
|
||||||
@ -13,26 +10,6 @@ in
|
|||||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
# systemd.user.targets.plasma-core.unitConfig.Upholds = [ "restart-xdg-desktop-portal.service" ];
|
|
||||||
systemd.user.targets.graphical-session.unitConfig.Wants = [ "restart-xdg-desktop-portal-kde.service" ];
|
|
||||||
systemd.user = {
|
|
||||||
services.restart-xdg-desktop-portal-kde = {
|
|
||||||
enable = true;
|
|
||||||
description = "hack to fix xdg-desktop-portal on kde";
|
|
||||||
# wantedBy = [ "plasma-core.target" ];
|
|
||||||
after = [ "plasma-core.target" "xdg-desktop-portal.service" ];
|
|
||||||
requisite = [ "plasma-core.target" ];
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = [
|
|
||||||
"${sleep} 5"
|
|
||||||
"${systemctl} --user restart xdg-desktop-portal.service"
|
|
||||||
];
|
|
||||||
Type = "oneshot";
|
|
||||||
RemainAfterExit = "yes";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# this fixes tiny file dialogs for Minecraft
|
# this fixes tiny file dialogs for Minecraft
|
||||||
libsForQt5.kdialog
|
libsForQt5.kdialog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user