add quickshell
This commit is contained in:
parent
9d32d57869
commit
a172869a4a
6 changed files with 79 additions and 5 deletions
|
|
@ -13,11 +13,29 @@ in
|
|||
nixfmt
|
||||
clang
|
||||
kdePackages.qtdeclarative
|
||||
fuzzel
|
||||
];
|
||||
home.stateVersion = "26.05";
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = config.theming.font;
|
||||
package = config.theming.fontPackage;
|
||||
size = 12;
|
||||
};
|
||||
cursorTheme.name = "macOS";
|
||||
cursorTheme.size = 24;
|
||||
gtk3.extraCss = ''
|
||||
@define-color theme_bg_color ${c.base00};
|
||||
@define-color theme_fg_color ${c.base05};
|
||||
|
|
@ -58,5 +76,6 @@ in
|
|||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
};
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,10 @@
|
|||
networking.networkmanager.enable = true;
|
||||
|
||||
# enable flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
# use proprietary nvidia drivers
|
||||
hardware.graphics.enable = true;
|
||||
|
|
@ -39,6 +42,10 @@
|
|||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
services.desktopManager.gnome.enable = true;
|
||||
services.displayManager.gdm.enable = true;
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
|
||||
};
|
||||
services.xserver.xkb.layout = "us";
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
@ -62,6 +69,9 @@
|
|||
git
|
||||
clang
|
||||
];
|
||||
fonts.packages = [
|
||||
config.theming.fontPackage
|
||||
];
|
||||
system.stateVersion = "26.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ in
|
|||
home-manager.users.lucy.programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
font = "${config.theming.font}:size=12";
|
||||
pad = "10x10";
|
||||
};
|
||||
|
||||
colors-dark = {
|
||||
background = c.base00;
|
||||
|
|
|
|||
36
modules/programs/quickshell.nix
Normal file
36
modules/programs/quickshell.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
c = config.scheme.withHashtag;
|
||||
in
|
||||
{
|
||||
|
||||
home-manager.users.lucy = {
|
||||
programs.quickshell.enable = true;
|
||||
programs.quickshell.systemd.enable = true;
|
||||
xdg.configFile."quickshell/Colors.js" = {
|
||||
enable = true;
|
||||
text = ''
|
||||
const colors = {
|
||||
base00: "${c.base00}",
|
||||
base01: "${c.base01}",
|
||||
base02: "${c.base02}",
|
||||
base03: "${c.base03}",
|
||||
base04: "${c.base04}",
|
||||
base05: "${c.base05}",
|
||||
base06: "${c.base06}",
|
||||
base07: "${c.base07}",
|
||||
base08: "${c.base08}",
|
||||
base09: "${c.base09}",
|
||||
base0A: "${c.base0A}",
|
||||
base0B: "${c.base0B}",
|
||||
base0C: "${c.base0C}",
|
||||
base0D: "${c.base0D}",
|
||||
base0E: "${c.base0E}",
|
||||
base0F: "${c.base0F}",
|
||||
}
|
||||
'';
|
||||
force = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue