Skip to content

Commit

Permalink
style: Fix accidental formatting mishaps
Browse files Browse the repository at this point in the history
  • Loading branch information
TLATER committed Jan 1, 2025
1 parent adbb8b2 commit 2ccdbf7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
52 changes: 27 additions & 25 deletions home-config/config/desktop/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,37 +97,39 @@ in
configDir = ../../dotfiles/eww;
};

systemd.user.services.eww = {
Unit = {
Description = "System tray";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
systemd.user.services = {
eww = {
Unit = {
Description = "System tray";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};

Service = {
ExecStart = "${config.programs.eww.package}/bin/eww daemon --no-daemonize";
ExecStartPost = "${config.programs.eww.package}/bin/eww open tray";
};
Install.WantedBy = [ "graphical-session.target" ];
};

Service = {
ExecStart = "${config.programs.eww.package}/bin/eww daemon --no-daemonize";
ExecStartPost = "${config.programs.eww.package}/bin/eww open tray";
swaylock = {
Unit.Description = "Lock screen";
Service.ExecStart = "${config.programs.swaylock.package}/bin/swaylock";
};
Install.WantedBy = [ "graphical-session.target" ];
};

systemd.user.services.swaylock = {
Unit.Description = "Lock screen";
Service.ExecStart = "${config.programs.swaylock.package}/bin/swaylock";
};
wpaperd = {
Unit = {
Description = "Wallpaper daemon";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};

systemd.user.services.wpaperd = {
Unit = {
Description = "Wallpaper daemon";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.wpaperd}/bin/wpaperd";
Environment = "XDG_CONFIG_HOME=${wpaperd-config-dir}";
};

Service = {
ExecStart = "${pkgs.wpaperd}/bin/wpaperd";
Environment = "XDG_CONFIG_HOME=${wpaperd-config-dir}";
Install.WantedBy = [ "graphical-session.target" ];
};

Install.WantedBy = [ "graphical-session.target" ];
};
}
4 changes: 1 addition & 3 deletions home-modules/firefox-webapp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let
mapAttrs' (
name: cfg:
nameValuePair "home-manager-webapp-${name}" {
inherit (cfg) id;
inherit (cfg) extensions id;

userChrome = ''
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
Expand Down Expand Up @@ -66,8 +66,6 @@ let
system = 2;
};
};

extensions = cfg.extensions;
}
) cfg;
in
Expand Down
4 changes: 2 additions & 2 deletions nixos-config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
};

time.timeZone = lib.mkDefault "Asia/Hong_Kong";
services.automatic-timezoned.enable = true;
services.geoclue2.geoProviderUrl = "https://api.beacondb.net/v1/geolocate";

users = {
defaultUserShell = pkgs.zsh;
Expand Down Expand Up @@ -222,6 +220,8 @@
flatpak.enable = true;
fstrim.enable = true;
fwupd.enable = true;
automatic-timezoned.enable = true;
geoclue2.geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
};

hardware = {
Expand Down
1 change: 0 additions & 1 deletion nixos-modules/nvidia/prime.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
pkgs,
config,
lib,
...
Expand Down

0 comments on commit 2ccdbf7

Please sign in to comment.