From 333a06b0e89a9d07b443de5146c4a5bea9031f1d Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 17 Aug 2023 15:00:55 +0900 Subject: [PATCH] Updates and configs --- configuration.nix | 2 +- hosts/nixos-laptop/home-manager/default.nix | 1 + hosts/nixos-laptop/home-manager/mako-conf.nix | 32 +++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 hosts/nixos-laptop/home-manager/mako-conf.nix diff --git a/configuration.nix b/configuration.nix index 82e514ff..b700577d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -35,7 +35,7 @@ users.users.albert = { isNormalUser = true; description = "Albert J. Copeland"; - extraGroups = [ "networkmanager" "wheel" "video" ]; + extraGroups = [ "networkmanager" "wheel" "video" "dbus" ]; # video is required for the "light" command to work hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6"; }; diff --git a/hosts/nixos-laptop/home-manager/default.nix b/hosts/nixos-laptop/home-manager/default.nix index e1c524cd..9b79d795 100644 --- a/hosts/nixos-laptop/home-manager/default.nix +++ b/hosts/nixos-laptop/home-manager/default.nix @@ -3,6 +3,7 @@ ./hyprland-conf.nix ./waybar-conf.nix ./rofi-conf.nix + ./mako-conf.nix # ./gnome-dconf.nix ]; } \ No newline at end of file diff --git a/hosts/nixos-laptop/home-manager/mako-conf.nix b/hosts/nixos-laptop/home-manager/mako-conf.nix new file mode 100644 index 00000000..cb1c7596 --- /dev/null +++ b/hosts/nixos-laptop/home-manager/mako-conf.nix @@ -0,0 +1,32 @@ +{ ... }: { + home.file.".config/mako/config".text = '' + # Global configuration options +max-history=5 +sort=+time + +# Binding options +on-button-left=dismiss +on-button-right=dismiss-all + +# Style options +font=Cantarell 10 +background-color=#252423 +text-color=#e2cca9 +width=300 +height=100 +margin=10 +padding=15 +border-size=0 +border-radius=5 +icons=1 +max-icon-size=128 +icon-location=left +markup=1 +actions=1 +history=1 +text-alignment=left +default-timeout=15000 +layer=top +anchor=bottom-right + ''; +} \ No newline at end of file