mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-11 05:10:05 +00:00
Compare commits
3 commits
673421dec3
...
9e3a71b35e
Author | SHA1 | Date | |
---|---|---|---|
9e3a71b35e | |||
d543faff8c | |||
2de665b3c6 |
7 changed files with 85 additions and 85 deletions
|
@ -1,30 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Use `dconf watch /` to track stateful changes you are doing, then set them here.
|
|
||||||
dconf.settings = {
|
|
||||||
"org/gnome/desktop/wm/preferences" = {
|
|
||||||
workspace-names = [ "Main" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/shell/extensions/unite" = {
|
|
||||||
use-activities-text = false;
|
|
||||||
extend-left-box = false;
|
|
||||||
reduce-panel-spacing = false;
|
|
||||||
window-buttons-placement = "first";
|
|
||||||
show-legacy-tray = false;
|
|
||||||
show-appmenu-button = false;
|
|
||||||
show-desktop-name = false;
|
|
||||||
enable-titlebar-actions = false;
|
|
||||||
restrict-to-primary-screen = true;
|
|
||||||
hide-activities-button = "never";
|
|
||||||
hide-window-titlebars = "maximized";
|
|
||||||
show-window-title = false;
|
|
||||||
autofocus-windows = true;
|
|
||||||
show-window-buttons = "maximized";
|
|
||||||
notifications-position = "right";
|
|
||||||
window-buttons-theme = "catppuccin";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.vscodium;
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
|
||||||
# wakatime.vscode-wakatime # Wakatime for coding statistics
|
|
||||||
vue.volar # Vue support
|
|
||||||
svelte.svelte-vscode # Svelte support
|
|
||||||
pkief.material-icon-theme # Material icons
|
|
||||||
prisma.prisma
|
|
||||||
ms-python.vscode-pylance # Python support
|
|
||||||
ms-dotnettools.csharp # CSharp support
|
|
||||||
mikestead.dotenv # Improved dotenv support
|
|
||||||
catppuccin.catppuccin-vsc # Catppuccin theme
|
|
||||||
jnoortheen.nix-ide # Nix language support
|
|
||||||
];
|
|
||||||
userSettings = {
|
|
||||||
"nix.enableLanguageServer" = true;
|
|
||||||
"nix.serverPath" = "nil";
|
|
||||||
"workbench.colorTheme" = "Catppuccin Macchiato";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -5,12 +5,12 @@
|
||||||
...
|
...
|
||||||
}: with lib; with lib.${namespace};
|
}: with lib; with lib.${namespace};
|
||||||
{
|
{
|
||||||
imports = [
|
puzzlevision = {
|
||||||
./apps/gnome.nix
|
themes.catppuccin = {
|
||||||
./apps/vscodium.nix
|
gtk.enable = true;
|
||||||
];
|
black-box.enable = true;
|
||||||
|
};
|
||||||
themes.catppuccin.gtk.enable = true;
|
};
|
||||||
|
|
||||||
home.file."~/.config/Yubico/u2f_keys".text = ''
|
home.file."~/.config/Yubico/u2f_keys".text = ''
|
||||||
jo:gtKwCQKVw5O4IkWg8J8o7vHIo3hStmOqVcnmk97E335DwHnPUMIDTMnD46qEn/1tucTZlYfGABfzVVG+iYeUOA==,fVRFZb9iBiqjOXvk5Gm9ygO/O4huEUR1Uq3DGBlnS1RtqqK0shif8aOlNLkmn8Xe9+x4HYIeNEX4fc8Z7Y2Hgw==,es256,+presence
|
jo:gtKwCQKVw5O4IkWg8J8o7vHIo3hStmOqVcnmk97E335DwHnPUMIDTMnD46qEn/1tucTZlYfGABfzVVG+iYeUOA==,fVRFZb9iBiqjOXvk5Gm9ygO/O4huEUR1Uq3DGBlnS1RtqqK0shif8aOlNLkmn8Xe9+x4HYIeNEX4fc8Z7Y2Hgw==,es256,+presence
|
||||||
|
|
|
@ -1,40 +1,71 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
host,
|
|
||||||
config,
|
config,
|
||||||
osConfig,
|
osConfig,
|
||||||
namespace,
|
namespace,
|
||||||
...
|
...
|
||||||
}: with lib; with lib.${namespace};
|
}: with lib; with lib.${namespace};
|
||||||
let
|
let
|
||||||
cfg = config.${host}.desktop.gnome;
|
cfg = config.${namespace}.desktop.gnome;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${host}.desktop.gnome = with types; {
|
options.${namespace}.desktop.gnome = with types; {
|
||||||
extensions = mkOption {
|
enabled-extensions = mkOption {
|
||||||
type = listOf package;
|
type = listOf package;
|
||||||
default = with pkgs.gnomeExtensions; [ dash-to-dock user-themes blur-my-shell appindicator unite color-picker clipboard-history ];
|
default = with pkgs.gnomeExtensions; [ dash-to-dock user-themes blur-my-shell appindicator unite color-picker clipboard-history ];
|
||||||
example = [ dash-to-dock blur-my-shell ];
|
example = [ dash-to-dock blur-my-shell ];
|
||||||
description = "Specify gnome extensions to install.";
|
description = "Specify gnome extensions to install.";
|
||||||
};
|
};
|
||||||
favorite-apps = mkOption {
|
favorite-apps = mkOption {
|
||||||
type = listOf string;
|
type = listOf str;
|
||||||
default = ["org.gnome.Nautilus.desktop" "obsidian.desktop" "zen.desktop" "dev.zed.Zed.desktop"];
|
default = ["org.gnome.Nautilus.desktop" "obsidian.desktop" "zen.desktop" "dev.zed.Zed.desktop"];
|
||||||
example = ["org.gnome.Nautilus.desktop" "obsidian.desktop"];
|
example = ["org.gnome.Nautilus.desktop" "obsidian.desktop"];
|
||||||
description = "Specify your favorite apps (sorted left to right)";
|
description = "Specify your favorite apps (sorted left to right).";
|
||||||
|
};
|
||||||
|
extensions = {
|
||||||
|
unite = {
|
||||||
|
show-window-buttons = mkOption {
|
||||||
|
type = str;
|
||||||
|
default = "never";
|
||||||
|
example = "never | maximized | tiled | both | always";
|
||||||
|
description = "Specify when Unite should display window buttons within the top panel.";
|
||||||
|
};
|
||||||
|
hide-window-titlebars = mkOption {
|
||||||
|
type = str;
|
||||||
|
default = "maximized";
|
||||||
|
example = "never | maximized | tiled | both | always";
|
||||||
|
description = "Specify when Unite should hide window titlebars.";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
|
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
|
||||||
home.packages = cfg.extensions;
|
home.packages = cfg.enabled-extensions;
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
favorite-apps = cfg.favorite-apps;
|
favorite-apps = cfg.favorite-apps;
|
||||||
enabled-extensions = forEach cfg.extensions (x: x.extensionUuid);
|
enabled-extensions = forEach cfg.enabled-extensions (x: x.extensionUuid);
|
||||||
disabled-extensions = []; # Make sure none of our extensions are disabled on system rebuild
|
disabled-extensions = []; # Make sure none of our extensions are disabled on system rebuild
|
||||||
};
|
};
|
||||||
|
"org/gnome/shell/extensions/unite" = mkIf (builtins.elem pkgs.gnomeExtensions.unite cfg.enabled-extensions) {
|
||||||
|
show-window-buttons = cfg.extensions.unite.show-window-buttons;
|
||||||
|
hide-window-titlebars = cfg.extensions.unite.hide-window-titlebars;
|
||||||
|
|
||||||
|
use-activities-text = false;
|
||||||
|
extend-left-box = false;
|
||||||
|
reduce-panel-spacing = false;
|
||||||
|
show-legacy-tray = false;
|
||||||
|
show-appmenu-button = false;
|
||||||
|
show-desktop-name = false;
|
||||||
|
enable-titlebar-actions = false;
|
||||||
|
restrict-to-primary-screen = false;
|
||||||
|
hide-activities-button = "never";
|
||||||
|
autofocus-windows = true;
|
||||||
|
notifications-position = "right";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
23
modules/home/themes/catppuccin/black-box/default.nix
Normal file
23
modules/home/themes/catppuccin/black-box/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
cfg = config.${namespace}.themes.catppuccin.black-box;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.themes.catppuccin.black-box = {
|
||||||
|
enable = mkEnableOption "Whether to enable the catppuccin theme for black-box.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
dconf.settings = {
|
||||||
|
"com/raggesilver/BlackBox" = {
|
||||||
|
theme-dark = "Catppuccin Macchiato";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,8 +6,8 @@
|
||||||
accent = "blue";
|
accent = "blue";
|
||||||
flavor = "macchiato";
|
flavor = "macchiato";
|
||||||
|
|
||||||
pointerCursor.enable = true;
|
cursors.enable = true;
|
||||||
pointerCursor.accent = "blue";
|
cursors.accent = "blue";
|
||||||
pointerCursor.flavor = "macchiato";
|
cursors.flavor = "macchiato";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,10 +101,10 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = config.themes.catppuccin.gtk;
|
cfg = config.${namespace}.themes.catppuccin.gtk;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
|
options.${namespace}.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -120,17 +120,9 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
name = "Ubuntu";
|
name = "Poppins";
|
||||||
size = 12;
|
size = 12;
|
||||||
package = pkgs.ubuntu-sans;
|
package = pkgs.poppins;
|
||||||
};
|
|
||||||
|
|
||||||
catppuccin = {
|
|
||||||
icon = {
|
|
||||||
enable = true;
|
|
||||||
accent = "maroon";
|
|
||||||
flavor = "mocha";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = {
|
theme = {
|
||||||
|
@ -150,6 +142,16 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
gtk = {
|
||||||
|
icon = {
|
||||||
|
enable = true;
|
||||||
|
accent = "maroon";
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/shell/extensions/user-theme" = {
|
"org/gnome/shell/extensions/user-theme" = {
|
||||||
name = "Colloid-Dark-Catppuccin";
|
name = "Colloid-Dark-Catppuccin";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue