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