diff options
author | Alan Pearce | 2022-10-16 23:49:18 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-16 23:56:07 +0200 |
commit | 05dd85210e465caa44ef7254f2781b2d12ba2882 (patch) | |
tree | 85ccc720e339dd5ca8d7eb3ce6a3488c78675235 /system/settings/programs | |
parent | 472dbbdbb246cf3d8ce3a5c3c6cefaa07b7589df (diff) | |
download | nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.tar.lz nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.tar.zst nixfiles-05dd85210e465caa44ef7254f2781b2d12ba2882.zip |
Reformat files with alejandra
Diffstat (limited to 'system/settings/programs')
-rw-r--r-- | system/settings/programs/barrier.nix | 8 | ||||
-rw-r--r-- | system/settings/programs/base.nix | 4 | ||||
-rw-r--r-- | system/settings/programs/gnome.nix | 12 | ||||
-rw-r--r-- | system/settings/programs/gnupg.nix | 9 | ||||
-rw-r--r-- | system/settings/programs/i3.nix | 9 | ||||
-rw-r--r-- | system/settings/programs/kde.nix | 12 | ||||
-rw-r--r-- | system/settings/programs/shell.nix | 24 | ||||
-rw-r--r-- | system/settings/programs/tor.nix | 9 | ||||
-rw-r--r-- | system/settings/programs/window-manager.nix | 6 |
9 files changed, 61 insertions, 32 deletions
diff --git a/system/settings/programs/barrier.nix b/system/settings/programs/barrier.nix index 9a73620d..788021d5 100644 --- a/system/settings/programs/barrier.nix +++ b/system/settings/programs/barrier.nix @@ -1,7 +1,11 @@ -{ config, pkgs, ... }: { +{ + config, + pkgs, + ... +}: { environment.systemPackages = with pkgs; [ barrier ]; - networking.firewall.allowedTCPPorts = [ 24800 ]; + networking.firewall.allowedTCPPorts = [24800]; } diff --git a/system/settings/programs/base.nix b/system/settings/programs/base.nix index 1024aedd..f09beb75 100644 --- a/system/settings/programs/base.nix +++ b/system/settings/programs/base.nix @@ -1,6 +1,4 @@ -{ pkgs, ...}: - -{ +{pkgs, ...}: { environment.systemPackages = with pkgs; [ cachix home-manager diff --git a/system/settings/programs/gnome.nix b/system/settings/programs/gnome.nix index 13309a6e..3ccac864 100644 --- a/system/settings/programs/gnome.nix +++ b/system/settings/programs/gnome.nix @@ -1,7 +1,11 @@ -{ config, lib, pkgs, ... }: - -with lib; -{ services = { +{ + config, + lib, + pkgs, + ... +}: +with lib; { + services = { gnome3 = { gnome-documents.enable = false; gnome-user-share.enable = false; diff --git a/system/settings/programs/gnupg.nix b/system/settings/programs/gnupg.nix index 663bcb3c..9899c23b 100644 --- a/system/settings/programs/gnupg.nix +++ b/system/settings/programs/gnupg.nix @@ -1,10 +1,13 @@ -{ config, pkgs, lib, ... }: - { + config, + pkgs, + lib, + ... +}: { environment.systemPackages = with pkgs; [ gnupg pinentry - (python3.withPackages(ps: with ps; [ trezor_agent wheel ])) + (python3.withPackages (ps: with ps; [trezor_agent wheel])) ]; environment.variables.GNUPGHOME = "$HOME/.gnupg/trezor/"; } diff --git a/system/settings/programs/i3.nix b/system/settings/programs/i3.nix index ab1fcca4..4cf4a82a 100644 --- a/system/settings/programs/i3.nix +++ b/system/settings/programs/i3.nix @@ -1,6 +1,9 @@ -{ config, pkgs, ... }: - -{ services.xserver.windowManager = { +{ + config, + pkgs, + ... +}: { + services.xserver.windowManager = { i3 = { enable = true; extraSessionCommands = '' diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix index 2faad513..9d77eeb5 100644 --- a/system/settings/programs/kde.nix +++ b/system/settings/programs/kde.nix @@ -1,7 +1,11 @@ -{ config, lib, pkgs, ... }: - -with lib; -{ services = { +{ + config, + lib, + pkgs, + ... +}: +with lib; { + services = { xserver = { desktopManager = { plasma5.enable = true; diff --git a/system/settings/programs/shell.nix b/system/settings/programs/shell.nix index bf8fc3aa..6f4b793a 100644 --- a/system/settings/programs/shell.nix +++ b/system/settings/programs/shell.nix @@ -1,11 +1,19 @@ -{ config, pkgs, ... }: - { - programs.zsh = { - enable = true; - promptInit = ""; - } // (if pkgs.stdenv.isDarwin then {} else { - enableGlobalCompInit = false; - }); + config, + pkgs, + ... +}: { + programs.zsh = + { + enable = true; + promptInit = ""; + } + // ( + if pkgs.stdenv.isDarwin + then {} + else { + enableGlobalCompInit = false; + } + ); programs.bash.enableCompletion = true; } diff --git a/system/settings/programs/tor.nix b/system/settings/programs/tor.nix index 48106e08..80e2fdf2 100644 --- a/system/settings/programs/tor.nix +++ b/system/settings/programs/tor.nix @@ -1,6 +1,9 @@ -{ config, pkgs, lib, ... }: - { + config, + pkgs, + lib, + ... +}: { services.tor = { enable = true; client = { @@ -17,7 +20,7 @@ systemd.services.tor.wantedBy = lib.mkForce []; systemd.timers.tor = { description = "Delayed startup of Tor"; - wantedBy = [ "timers.target" ]; + wantedBy = ["timers.target"]; timerConfig = { OnActiveSec = "1 min"; }; diff --git a/system/settings/programs/window-manager.nix b/system/settings/programs/window-manager.nix index b2d94929..bad60797 100644 --- a/system/settings/programs/window-manager.nix +++ b/system/settings/programs/window-manager.nix @@ -1,6 +1,8 @@ -{ config, pkgs, ... }: - { + config, + pkgs, + ... +}: { services.xserver = { desktopManager.xterm.enable = false; |