1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add mako and set further options

configure mako
adding base commands for nm-applet, blueman-applet
This commit is contained in:
Stefan Ellmauthaler 2022-08-15 17:43:21 +02:00
parent 51480e20b6
commit 49919ec787
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
4 changed files with 31 additions and 9 deletions

View File

@ -57,10 +57,6 @@ with lib; {
printing.enable = true; printing.enable = true;
}; };
programs.nm-applet = {
enable = true;
};
sound.enable = true; sound.enable = true;
hardware = { hardware = {

View File

@ -2,10 +2,11 @@
{ {
imports = [ imports = [
# ./autorandr.nix # ./autorandr.nix
./dunst.nix # ./dunst.nix
./git.nix ./git.nix
./gpg.nix ./gpg.nix
# ./i3.nix ./i3.nix
./mako.nix
./nextcloud.nix ./nextcloud.nix
# ./polybar.nix # ./polybar.nix
./zsh.nix ./zsh.nix

10
users/ellmau/mako.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, pkgs, ...}:
{
programs.mako = {
enable = true;
iconpath = "${pkgs.numix-icon-theme}";
font = "Hasklug Nerd Font 10";
};
home.packages = [ pkgs.numic-icon-theme ];
}

View File

@ -1,5 +1,10 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
services = {
blueman-applet.enable = true;
network-manager-applet.enable = true;
};
home.file.".background-image".source = ../common/wallpaper/nix-wallpaper-nineish-dark-gray.png;
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
config = { config = {
@ -28,17 +33,27 @@
startup = [ startup = [
{ {
command = "--no-startup-id nm-applet"; command = "--no-startup-id nm-applet --indicator";
always = true; always = true;
} }
{
command = "--no-startup-id blueman-applet";
always = true;
}
{
command = "--no-startup-id systemctl --user restart waybar.service";
always = true;
}
{
command = "--no-startup-id .config/i3/keepassxc.sh";
}
]; ];
terminal = "alacritty"; terminal = "alacritty";
window = { window = {
titlebar = true; titlebar = true;
}; };
bars = []; bars = [ ];
}; };
extraConfig = '' extraConfig = ''
set $mode_system System (l) lock, (CTRL+e) logout, (CTRL+r) reboot, (CTRL+s) shutdown set $mode_system System (l) lock, (CTRL+e) logout, (CTRL+r) reboot, (CTRL+s) shutdown