mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-11 21:30:06 +00:00
Compare commits
No commits in common. "9e3a71b35ef9abb9ecef1e023bb313f51de7150f" and "673421dec3f62fdd72f9461f4b6688ff6d4f7d7f" have entirely different histories.
9e3a71b35e
...
673421dec3
7 changed files with 85 additions and 85 deletions
30
homes/x86_64-linux/jo@puzzlevision/apps/gnome.nix
Normal file
30
homes/x86_64-linux/jo@puzzlevision/apps/gnome.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
26
homes/x86_64-linux/jo@puzzlevision/apps/vscodium.nix
Normal file
26
homes/x86_64-linux/jo@puzzlevision/apps/vscodium.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
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};
|
||||||
{
|
{
|
||||||
puzzlevision = {
|
imports = [
|
||||||
themes.catppuccin = {
|
./apps/gnome.nix
|
||||||
gtk.enable = true;
|
./apps/vscodium.nix
|
||||||
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,71 +1,40 @@
|
||||||
{
|
{
|
||||||
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.${namespace}.desktop.gnome;
|
cfg = config.${host}.desktop.gnome;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.desktop.gnome = with types; {
|
options.${host}.desktop.gnome = with types; {
|
||||||
enabled-extensions = mkOption {
|
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 str;
|
type = listOf string;
|
||||||
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.enabled-extensions;
|
home.packages = cfg.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.enabled-extensions (x: x.extensionUuid);
|
enabled-extensions = forEach cfg.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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
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";
|
||||||
|
|
||||||
cursors.enable = true;
|
pointerCursor.enable = true;
|
||||||
cursors.accent = "blue";
|
pointerCursor.accent = "blue";
|
||||||
cursors.flavor = "macchiato";
|
pointerCursor.flavor = "macchiato";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,10 +101,10 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = config.${namespace}.themes.catppuccin.gtk;
|
cfg = config.themes.catppuccin.gtk;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.themes.catppuccin.gtk = { enable = mkEnableOption "Enable the Catppuccin theme for GTK"; };
|
options.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,9 +120,17 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
name = "Poppins";
|
name = "Ubuntu";
|
||||||
size = 12;
|
size = 12;
|
||||||
package = pkgs.poppins;
|
package = pkgs.ubuntu-sans;
|
||||||
|
};
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
icon = {
|
||||||
|
enable = true;
|
||||||
|
accent = "maroon";
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = {
|
theme = {
|
||||||
|
@ -142,16 +150,6 @@ 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