mashu: Use xournalpp-master

This commit is contained in:
2021-11-01 13:49:21 +01:00
parent 50c7d023c5
commit a93eb98304
3 changed files with 9 additions and 50 deletions

View File

@@ -15,7 +15,7 @@ in mkHost config {
wireless = true;
wifiInterface = "wlp1s0";
programImports = [
"zsh" "git" "mpv" "tmux" "firefox" "gnome-terminal" "gnome" "i18n" "nextcloud" # "xournalpp"
"zsh" "git" "mpv" "tmux" "firefox" "gnome-terminal" "gnome" "i18n" "nextcloud" "xournalpp"
"distributed-build/offload.nix"
];
fileSystems = {
@@ -49,50 +49,9 @@ in mkHost config {
};
};
services.gnome.gnome-settings-daemon.enable = true;
# TODO: phosh 0.10.2 does not grab this. Just set it.
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';
services.xserver.libinput.touchpad = {
tapping = true;
disableWhileTyping = true;
};
# TODO: phosh only allows numerical PINs...
users.users.alexander.hashedPassword = lib.mkForce "$5$AkihyU/rnc$MrGVtF2d.2CbURQo2oIWdBdDz1ZLAnKum7BOxhUjh88";
# TODO: It seems like 0.10.2 does not do this by default. So, as a workaround, start some of these
# myself.
systemd.user.services = {
gsd-media = {
description = "GSD media keys handling";
wantedBy = [ "default.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.gnome.gnome-settings-daemon}/libexec/gsd-media-keys";
Restart = "always";
};
};
gsd-power = {
description = "GSD media keys handling";
wantedBy = [ "default.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.gnome.gnome-settings-daemon}/libexec/gsd-power";
Restart = "always";
};
};
};
programs.phosh = {
powerManagement = {
enable = true;
phocConfig = {
outputs = {
"eDP-1" = {
scale = 2;
};
};
};
cpuFreqGovernor = "powersave";
};
};
}