about summary refs log tree commit diff
path: root/home/wm
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-10 11:42:32 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-10 13:12:35 -0700
commit98e01cdbfa047a32c1beb73438c5b93ca0592978 (patch)
tree403b462f1b6d6e4432c010e8f47e179e3e730a97 /home/wm
parentdocs(gerrit): document various things (diff)
downloadworld-98e01cdbfa047a32c1beb73438c5b93ca0592978.tar.gz
fix(fmt): correct formatting for all nix files
This was done by running `nixpkgs-fmt .'.

Change-Id: I4ea6c1e759bf468d08074be2111cbc7af72df295
Reviewed-on: https://cl.fcuny.net/c/world/+/404
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'home/wm')
-rw-r--r--home/wm/default.nix6
-rw-r--r--home/wm/gammastep/default.nix3
-rw-r--r--home/wm/mako/default.nix3
-rw-r--r--home/wm/sway/default.nix3
-rw-r--r--home/wm/swaylock/default.nix3
-rw-r--r--home/wm/waybar/default.nix3
-rw-r--r--home/wm/wofi/default.nix3
7 files changed, 16 insertions, 8 deletions
diff --git a/home/wm/default.nix b/home/wm/default.nix
index 27a8bf4..0125dd1 100644
--- a/home/wm/default.nix
+++ b/home/wm/default.nix
@@ -2,10 +2,12 @@
 let
   mkRelatedOption = description: relatedWMs:
     let isActivatedWm = wm: config.my.home.wm.windowManager == wm;
-    in (lib.mkEnableOption description) // {
+    in
+    (lib.mkEnableOption description) // {
       default = builtins.any isActivatedWm relatedWMs;
     };
-in {
+in
+{
   imports = [ ./sway ./waybar ./mako ./swaylock ./wofi ./gammastep ];
   options.my.home.wm = with lib; {
     windowManager = mkOption {
diff --git a/home/wm/gammastep/default.nix b/home/wm/gammastep/default.nix
index 0a9c684..4530126 100644
--- a/home/wm/gammastep/default.nix
+++ b/home/wm/gammastep/default.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 let isEnabled = config.my.home.wm.windowManager == "sway";
-in {
+in
+{
   config = lib.mkIf isEnabled {
     services.gammastep = {
       enable = true;
diff --git a/home/wm/mako/default.nix b/home/wm/mako/default.nix
index 3a13620..665707d 100644
--- a/home/wm/mako/default.nix
+++ b/home/wm/mako/default.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 let isEnabled = config.my.home.wm.windowManager == "sway";
-in {
+in
+{
   config = lib.mkIf isEnabled {
     home.packages = [
       pkgs.libnotify # to send notifications
diff --git a/home/wm/sway/default.nix b/home/wm/sway/default.nix
index ba70992..d3b758d 100644
--- a/home/wm/sway/default.nix
+++ b/home/wm/sway/default.nix
@@ -3,7 +3,8 @@ let
   isEnabled = config.my.home.wm.windowManager == "sway";
   terminal = config.my.home.terminal.program;
   modifier = "Mod4"; # `Super` key
-in {
+in
+{
   config = lib.mkIf isEnabled {
     home.packages = with pkgs; [
       wlogout
diff --git a/home/wm/swaylock/default.nix b/home/wm/swaylock/default.nix
index 3df802a..803a7c3 100644
--- a/home/wm/swaylock/default.nix
+++ b/home/wm/swaylock/default.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 let isEnabled = config.my.home.wm.windowManager == "sway";
-in {
+in
+{
   config = lib.mkIf isEnabled {
     xdg.configFile."swaylock/config" = { source = ./config; };
 
diff --git a/home/wm/waybar/default.nix b/home/wm/waybar/default.nix
index c1bf601..1aab182 100644
--- a/home/wm/waybar/default.nix
+++ b/home/wm/waybar/default.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 let isEnabled = config.my.home.wm.windowManager == "sway";
-in {
+in
+{
   config = lib.mkIf isEnabled {
     programs.waybar = {
       enable = true;
diff --git a/home/wm/wofi/default.nix b/home/wm/wofi/default.nix
index ad3c759..7f8a92b 100644
--- a/home/wm/wofi/default.nix
+++ b/home/wm/wofi/default.nix
@@ -1,6 +1,7 @@
 { config, lib, pkgs, ... }:
 let isEnabled = config.my.home.wm.windowManager == "sway";
-in {
+in
+{
   config = lib.mkIf isEnabled {
     home.packages = with pkgs; [ wofi ];
     xdg.configFile."wofi/config".source = ./config;