No gnome, no mako

This commit is contained in:
Daniel Flanagan 2024-05-26 09:48:52 -05:00
parent a86c25c85b
commit 6156b6db72
4 changed files with 47 additions and 16 deletions

View file

@ -6,21 +6,23 @@
services.mako = with colors.withHashPrefix; { services.mako = with colors.withHashPrefix; {
enable = false; enable = false;
borderSize = 1;
maxVisible = 5;
defaultTimeout = 15000;
font = "Symbols Nerd Font ${toString font.size},${font.name} ${toString font.size}";
# TODO: config
backgroundColor = bg;
textColor = text;
borderColor = primary;
progressColor = primary;
anchor = "top-right"; anchor = "top-right";
extraConfig = '' extraConfig = ''
border-size=1
max-visible=5
default-timeout=15000
font=Symbols Nerd Font ${toString font.size},${font.name} ${toString font.size}
anchor=top-right
background-color=${colors.bg}
text-color=${colors.text}
border-color=${colors.primary}
progress-color=${colors.primary}
[urgency=high] [urgency=high]
border-color=${urgent} border-color=${urgent}
[urgency=high] [urgency=high]
background-color=${urgent} background-color=${urgent}
border-color=${urgent} border-color=${urgent}

View file

@ -3,7 +3,7 @@
lib, lib,
config, config,
pkgs, pkgs,
# font, font,
... ...
}: { }: {
imports = [ imports = [
@ -17,6 +17,30 @@
enable = true; enable = true;
}; };
home.file."${config.xdg.configHome}/mako/config" = {
enable = true;
text = with colors.withHashPrefix; ''
border-size=1
max-visible=5
default-timeout=15000
font=Symbols Nerd Font ${toString font.size},${font.name} ${toString font.size}
anchor=top-right
background-color=${bg}
text-color=${text}
border-color=${primary}
progress-color=${primary}
[urgency=high]
border-color=${urgent}
[urgency=high]
background-color=${urgent}
border-color=${urgent}
text-color=${bg}
'';
};
home.file."${config.xdg.configHome}/tofi/config" = { home.file."${config.xdg.configHome}/tofi/config" = {
enable = true; enable = true;
text = '' text = ''
@ -141,7 +165,6 @@
# {command = "mako";} # {command = "mako";}
# {command = "firefox";} # {command = "firefox";}
# {command = "wezterm";} # {command = "wezterm";}
{command = "wezterm";}
]; ];
modes = { modes = {

View file

@ -5,10 +5,16 @@
}: { }: {
imports = [./pipewire.nix]; imports = [./pipewire.nix];
# mkForce is used liberally to take precedence over KDE Plasma
# so I can have both "usable" at once
services.xserver.enable = lib.mkDefault true; services.xserver.enable = lib.mkDefault true;
services.xserver.displayManager.gdm = { services.xserver.displayManager.gdm = {
enable = lib.mkDefault true; enable = lib.mkForce true; # take precedence over KDE's SDDM
}; };
services.displayManager.execCmd = lib.mkForce "exec ${pkgs.gnome.gdm}/bin/gdm";
services.displayManager.defaultSession = lib.mkForce "gnome";
programs.ssh.askPassword = "${pkgs.gnome.seahorse}/libexec/seahorse/ssh-askpass";
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;

View file

@ -5,7 +5,7 @@
pkgs, pkgs,
... ...
}: let }: let
scale = 1.25; scale = 1.5;
in { in {
networking.hostName = "foxtrot"; networking.hostName = "foxtrot";
@ -28,7 +28,7 @@ in {
lutris lutris
postgres postgres
wifi wifi
hyprland # hyprland
steam steam
{ {
# laptop power management # laptop power management
@ -94,7 +94,7 @@ in {
pass pass
firefox-no-tabs firefox-no-tabs
# wallpaper-manager # wallpaper-manager
hyprland # hyprland
]; ];
home = { home = {
stateVersion = "24.05"; stateVersion = "24.05";