summaryrefslogtreecommitdiff
path: root/hosts/ahmed/graphics.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-01 22:43:58 +0200
committerLinnnus <[email protected]>2023-10-01 23:08:32 +0200
commit7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 (patch)
tree11eb68ec0ae6e1f9cd1f4d7b645cc55e582b1873 /hosts/ahmed/graphics.nix
parent241bbaf27ad990d0630b7b48f3e9858e8f42b88f (diff)
Use alejandra formatter
Diffstat (limited to 'hosts/ahmed/graphics.nix')
-rw-r--r--hosts/ahmed/graphics.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/hosts/ahmed/graphics.nix b/hosts/ahmed/graphics.nix
index be7c9c9..f54d043 100644
--- a/hosts/ahmed/graphics.nix
+++ b/hosts/ahmed/graphics.nix
@@ -1,14 +1,15 @@
# This module configures a basic graphical environment. I use this sometimes for
# ahmed when muhammed is being repaired.
-
-{ config, lib, pkgs, ... }:
-
-let
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.graphics;
-in
-{
+in {
options.modules.graphics.enable = mkEnableOption "basic graphical environment";
config = mkIf cfg.enable {
@@ -29,7 +30,7 @@ in
hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [
- st # suckless terminal - dwm is pretty sucky without this
+ st # suckless terminal - dwm is pretty sucky without this
dmenu # application launcher
];
};