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 = [ imports = [
./1password.nix ./1password.nix
./emacs.nix ./emacs.nix
./dunst.nix
./firefox.nix ./firefox.nix
./gnome-common.nix ./gnome-common.nix
./kitty.nix ./kitty.nix

View File

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

View File

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

View File

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

View File

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