Fixing dirty branch

This commit is contained in:
James Patrick 2022-03-26 22:03:16 -04:00
parent da35b7007d
commit c61f8944c9
5 changed files with 8 additions and 8 deletions

View File

@ -2,6 +2,7 @@
imports = [
./1password.nix
./emacs.nix
./dunst.nix
./firefox.nix
./gnome-common.nix
./kitty.nix

View File

@ -76,16 +76,14 @@ in with lib; {
'';
};
systemd.user.services.dunst = {
enable = true;
description = "Dunst";
wantedBy = [ "graphical-session.target" ]
++ optional sway.enable [ "sway-session.target" ];
description = "Notifications ";
wantedBy = [ "sway-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = ''
${pkgs.dunst}/bin/dunst
'';
ExecStart = "${pkgs.dunst}/bin/dunst";
RestartSec = 5;
Restart = "always";
};

View File

@ -17,7 +17,7 @@ in with lib; {
systemd.user.services = {
nextcloud = {
Unit = {
Description = "Nextcloud - A slighly more GNU friendly dropbox";
Description = "Nextcloud - A slightly more GNU friendly dropbox";
BindsTo = [ "graphical-session.target" ];
Wants = [ "graphical-session-pre.target" ];
After = [ "graphical-session-pre.target" ];
@ -25,6 +25,7 @@ in with lib; {
Service = {
Type = "simple";
Description = "Nextcloud - A slightly more GNU friendly dropbox";
ExecStart = "${pkgs.nextcloud-client}/bin/nextclient --background";
Restart = "on-failure";
RestartSec = 1;

View File

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }:
let
cfg = config.this.application.sway;
power = config.this.system.power;
graphical = config.this.graphical;
modifier = "Mod4";
wallpaper = pkgs.fetchurl {

View File

@ -25,6 +25,5 @@
LESSHISTFILE = "$XDG_CACHE_HOME/lesshst";
WGETRC = "$XDG_CONFIG_HOME/wgetrc";
};
};
}