secrets fixes
adds steam removes old ssh keys symlinks adds gnome extensions removes useless go paths
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
{
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
settings = {
|
||||
# Set the color scheme to dark
|
||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = [
|
||||
(pkgs.nerdfonts.override { fonts = [ "Hack" "FiraCode" "Meslo" "FiraCode" "DroidSansMono" ]; })
|
||||
];
|
||||
}
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = [
|
||||
(pkgs.nerdfonts.override {
|
||||
fonts = [
|
||||
"Hack"
|
||||
"FiraCode"
|
||||
"Meslo"
|
||||
"FiraCode"
|
||||
"DroidSansMono"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
176
config/home-manager/gnome-extensions.nix
Normal file
176
config/home-manager/gnome-extensions.nix
Normal file
@ -0,0 +1,176 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs.gnomeExtensions; [
|
||||
# lilypad@shendrew.github.io
|
||||
# tailscale@joaophi.github.com
|
||||
forge
|
||||
gsconnect
|
||||
blur-my-shell
|
||||
rounded-window-corners
|
||||
weather-oclock
|
||||
space-bar
|
||||
show-desktop-button
|
||||
gtk4-desktop-icons-ng-ding
|
||||
logo-menu
|
||||
media-controls
|
||||
burn-my-windows
|
||||
coverflow-alt-tab
|
||||
dash-to-dock
|
||||
hide-top-bar
|
||||
appindicator
|
||||
];
|
||||
|
||||
# Copy burn-my-windows profile to user config
|
||||
home.file.".config/burn-my-windows/profiles/default.conf".text = ''
|
||||
[burn-my-windows-profile]
|
||||
fire-enable-effect=false
|
||||
tv-glitch-enable-effect=true
|
||||
tv-glitch-animation-time=250
|
||||
'';
|
||||
|
||||
dconf = {
|
||||
settings = {
|
||||
# To get an ID of an extension, run `gnome-extensions list`
|
||||
"org/gnome/shell" = {
|
||||
disable-user-extensions = false;
|
||||
enabled-extensions = [
|
||||
# "tilingshell@ferrarodomenico.com"
|
||||
"forge@jmmaranan.com"
|
||||
"gsconnect@andyholmes.github.io"
|
||||
"blur-my-shell@aunetx"
|
||||
"tailscale@joaophi.github.com"
|
||||
"easy_docker_containers@red.software.systems"
|
||||
"weatheroclock@CleoMenezesJr.github.io"
|
||||
"space-bar@luchrioh"
|
||||
"show-desktop-button@amivaleo"
|
||||
"gtk4-ding@smedius.gitlab.com"
|
||||
"logomenu@aryan_k"
|
||||
"mediacontrols@cliffniff.github.com"
|
||||
"burn-my-windows@schneegans.github.com"
|
||||
"CoverflowAltTab@palatis.blogspot.com"
|
||||
"dash-to-dock@micxgx.gmail.com"
|
||||
"hidetopbar@mathieu.bidon.ca"
|
||||
"gnome-shell-extension-appindicator"
|
||||
"lilypad@shendrew.github.io"
|
||||
"appindicatorsupport@rgcjonas.gmail.com"
|
||||
];
|
||||
};
|
||||
|
||||
# Configure dash-to-dock
|
||||
"org/gnome/shell/extensions/dash-to-dock" = {
|
||||
apply-custom-theme = false;
|
||||
apply-glossy-effect = false;
|
||||
autohide-in-fullscreen = true;
|
||||
background-opacity = 0.8;
|
||||
custom-theme-customize-running-dots = false;
|
||||
custom-theme-running-dots-border-color = "rgb(255,255,255)";
|
||||
custom-theme-running-dots-color = "rgb(255,255,255)";
|
||||
dash-max-icon-size = 48;
|
||||
dock-fixed = false;
|
||||
dock-position = "BOTTOM";
|
||||
extend-height = 0;
|
||||
height-fraction = 0.9;
|
||||
intellihide = true;
|
||||
intellihide-mode = "ALL_WINDOWS";
|
||||
multi-monitor = true;
|
||||
preferred-monitor = -2;
|
||||
preferred-monitor-by-connector = "DP-2";
|
||||
running-indicator-dominant-color = true;
|
||||
running-indicator-style = "DOTS";
|
||||
show-apps-at-top = true;
|
||||
show-favorites = true;
|
||||
show-mounts = false;
|
||||
show-trash = true;
|
||||
transparency = 0.75;
|
||||
transparency-mode = "FIXED";
|
||||
unity-backlit-items = false;
|
||||
};
|
||||
|
||||
# Configure logo-menu
|
||||
"org/gnome/shell/extensions/Logo-menu" = {
|
||||
hide-icon-shadow = false;
|
||||
menu-button-extensions-app = "org.gnome.Extensions.desktop";
|
||||
menu-button-icon-image = 23;
|
||||
menu-button-icon-size = 24;
|
||||
menu-button-system-monitor = "missioncenter";
|
||||
menu-button-terminal = "kitty";
|
||||
show-power-options = false;
|
||||
symbolic-icon = true;
|
||||
use-custom-icon = false;
|
||||
};
|
||||
|
||||
# Configure covereflow-alt-tab
|
||||
"org/gnome/shell/extensions/coverflowalttab" = {
|
||||
animation-time = 0.2;
|
||||
easing-function = "ease-out-quart";
|
||||
icon-has-shadow = true;
|
||||
icon-style = "Overlay";
|
||||
invert-swipes = false;
|
||||
position = "Top";
|
||||
switcher-looping-method = "Flip Stack";
|
||||
switcher-style = "Coverflow";
|
||||
};
|
||||
|
||||
# Configure burn-my-windows
|
||||
"org/gnome/shell/extensions/burn-my-windows" = {
|
||||
active-profile = "${config.home.homeDirectory}/.config/burn-my-windows/profiles/default.conf";
|
||||
};
|
||||
|
||||
# Configure blur-my-shell
|
||||
"org/gnome/shell/extensions/blur-my-shell" = {
|
||||
brightness = 0.75;
|
||||
noise-amount = 0;
|
||||
};
|
||||
|
||||
# Configure forge
|
||||
"org/gnome/shell/extensions/forge" = {
|
||||
move-pointer-focus-enabled = false;
|
||||
stacked-tiling-mode-enabled = true;
|
||||
tabbed-tiling-mode-enabled = true;
|
||||
tiling-mode-enabled = true;
|
||||
};
|
||||
|
||||
"org/gnome/shell/extensions/forge/keybindings" = {
|
||||
con-split-horizontal = [ "<Super>z" ];
|
||||
con-split-layout-toggle = [ "<Super>g" ];
|
||||
con-split-vertical = [ "<Super>v" ];
|
||||
con-stacked-layout-toggle = [ "<Shift><Super>s" ];
|
||||
con-tabbed-layout-toggle = [ "<Shift><Super>t" ];
|
||||
con-tabbed-showtab-decoration-toggle = [ "<Control><Alt>y" ];
|
||||
focus-border-toggle = [ "<Super>x" ];
|
||||
prefs-tiling-toggle = [ "<Super>w" ];
|
||||
window-focus-down = [ "<Super>j" ];
|
||||
window-focus-left = [ "<Super>h" ];
|
||||
window-focus-right = [ "<Super>l" ];
|
||||
window-focus-up = [ "<Super>k" ];
|
||||
window-gap-size-decrease = [ "<Control><Super>minus" ];
|
||||
window-gap-size-increase = [ "<Control><Super>plus" ];
|
||||
window-move-down = [ "<Shift><Super>j" ];
|
||||
window-move-left = [ "<Shift><Super>h" ];
|
||||
window-move-right = [ "<Shift><Super>l" ];
|
||||
window-move-up = [ "<Shift><Super>k" ];
|
||||
window-resize-bottom-decrease = [ "<Shift><Control><Super>i" ];
|
||||
window-resize-bottom-increase = [ "<Control><Super>u" ];
|
||||
window-resize-left-decrease = [ "<Shift><Control><Super>o" ];
|
||||
window-resize-left-increase = [ "<Control><Super>y" ];
|
||||
window-resize-right-decrease = [ "<Shift><Control><Super>y" ];
|
||||
window-resize-right-increase = [ "<Control><Super>o" ];
|
||||
window-resize-top-decrease = [ "<Shift><Control><Super>u" ];
|
||||
window-resize-top-increase = [ "<Control><Super>i" ];
|
||||
window-snap-center = [ "<Control><Alt>c" ];
|
||||
window-snap-one-third-left = [ "<Control><Alt>d" ];
|
||||
window-snap-one-third-right = [ "<Control><Alt>g" ];
|
||||
window-snap-two-third-left = [ "<Control><Alt>e" ];
|
||||
window-snap-two-third-right = [ ];
|
||||
window-swap-down = [ "<Control><Super>j" ];
|
||||
window-swap-last-active = [ "<Super>Return" ];
|
||||
window-swap-left = [ "<Control><Super>h" ];
|
||||
window-swap-right = [ "<Control><Super>l" ];
|
||||
window-swap-up = [ "<Control><Super>k" ];
|
||||
window-toggle-always-float = [ "<Shift><Super>c" ];
|
||||
window-toggle-float = [ "<Super>c" ];
|
||||
workspace-active-tile-toggle = [ "<Shift><Super>w" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,9 +1,12 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./packages/vscode.nix
|
||||
./packages/go.nix
|
||||
./packages/kitty.nix
|
||||
./packages/zed-editor.nix
|
||||
./fonts.nix
|
||||
./gnome-extensions.nix
|
||||
./dconf.nix
|
||||
./keyboard-shortcuts.nix
|
||||
./virtualization.nix
|
||||
@ -18,11 +21,8 @@
|
||||
home.username = "menno";
|
||||
home.homeDirectory = "/home/menno";
|
||||
home.stateVersion = "24.05";
|
||||
home.file = { };
|
||||
|
||||
home.sessionVariables = {
|
||||
GOROOT = "${pkgs.go}/share/go";
|
||||
GOPATH = "${config.home.homeDirectory}/go";
|
||||
PATH = "${config.home.homeDirectory}/go/bin:$PATH";
|
||||
};
|
||||
}
|
||||
|
@ -1,34 +1,34 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
custom-keybindings = [
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/1password-quick-access/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter/"
|
||||
];
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
custom-keybindings = [
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/1password-quick-access/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter/"
|
||||
];
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" = {
|
||||
binding = "<Primary><Alt>t";
|
||||
command = "kitty";
|
||||
name = "open-terminal";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/1password-quick-access" = {
|
||||
binding = "<Ctrl><Alt>space";
|
||||
command = "1password --quick-access";
|
||||
name = "1password-quick-access";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot" = {
|
||||
binding = "<Shift><Alt>4";
|
||||
command = "flameshot gui";
|
||||
name = "screenshot";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter" = {
|
||||
binding = "<Ctrl><Shift>Escape";
|
||||
command = "missioncenter";
|
||||
name = "missioncenter";
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" = {
|
||||
binding = "<Primary><Alt>t";
|
||||
command = "kitty";
|
||||
name = "open-terminal";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/1password-quick-access" = {
|
||||
binding = "<Ctrl><Alt>space";
|
||||
command = "1password --quick-access";
|
||||
name = "1password-quick-access";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot" = {
|
||||
binding = "<Shift><Alt>4";
|
||||
command = "flameshot gui";
|
||||
name = "screenshot";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter" = {
|
||||
binding = "<Ctrl><Shift>Escape";
|
||||
command = "missioncenter";
|
||||
name = "missioncenter";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# General packages
|
||||
git
|
||||
|
@ -12,9 +12,4 @@ in
|
||||
enable = true;
|
||||
package = pinnedPkgs.go;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
GOPATH = "${config.home.homeDirectory}/go";
|
||||
GOBIN = "${config.home.homeDirectory}/go/bin";
|
||||
};
|
||||
}
|
@ -1,22 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Hack Nerd Font";
|
||||
size = 14;
|
||||
};
|
||||
|
||||
settings = {
|
||||
dynamic_background_opacity = true;
|
||||
background_opacity = "0.95";
|
||||
background_blur = 64;
|
||||
};
|
||||
|
||||
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
theme = "Catppuccin-Macchiato";
|
||||
#Also available: Catppuccin-Frappe Catppuccin-Latte Catppuccin-Macchiato Catppuccin-Mocha
|
||||
# See all available kitty themes at: https://github.com/kovidgoyal/kitty-themes/blob/46d9dfe230f315a6a0c62f4687f6b3da20fd05e4/themes.json
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Hack Nerd Font";
|
||||
size = 14;
|
||||
};
|
||||
}
|
||||
|
||||
settings = {
|
||||
dynamic_background_opacity = true;
|
||||
background_opacity = "0.95";
|
||||
background_blur = 64;
|
||||
};
|
||||
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
theme = "Catppuccin-Macchiato";
|
||||
#Also available: Catppuccin-Frappe Catppuccin-Latte Catppuccin-Macchiato Catppuccin-Mocha
|
||||
# See all available kitty themes at: https://github.com/kovidgoyal/kitty-themes/blob/46d9dfe230f315a6a0c62f4687f6b3da20fd05e4/themes.json
|
||||
};
|
||||
}
|
||||
|
14
config/home-manager/packages/zed-editor.nix
Normal file
14
config/home-manager/packages/zed-editor.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
pinnedPkgs = import (fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/41dea55321e5a999b17033296ac05fe8a8b5a257.tar.gz";
|
||||
# Update this SHA256 when a new version is required ^^^
|
||||
# You can find them here: https://www.nixhub.io/packages/zed-editor
|
||||
}) { };
|
||||
in
|
||||
{
|
||||
# Add zed-editor to your home packages
|
||||
home.packages = [
|
||||
pinnedPkgs.zed-editor
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user