move keeweb package and service into a file
This commit is contained in:
parent
3dfcfb9dd7
commit
bec8f40023
|
@ -10,7 +10,6 @@
|
|||
./docker.nix
|
||||
./restic
|
||||
./droidcam
|
||||
../home-manager/desktop/services/keeweb.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
./common/git/git.nix
|
||||
./obsidian.nix
|
||||
./work-desktop.nix
|
||||
./software/keeweb
|
||||
./software/pycharm
|
||||
./software/signal
|
||||
./software/telegram
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
appimage-run
|
||||
keeweb
|
||||
unstable.vscode
|
||||
unstable.youtube-dl
|
||||
];
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
# needs to be imported into the main nix config
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
keeweb
|
||||
];
|
||||
|
||||
systemd.user.services.keeweb = {
|
||||
description = "Keeweb";
|
||||
partOf = [ "graphical-session.target" ];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Unit = {
|
||||
description = "KeeWeb";
|
||||
partOf = [ "graphical-session.target" ];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.keeweb}/bin/keeweb";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
Loading…
Reference in New Issue