add vscode, gtk theme, gtk service
This commit is contained in:
parent
1ffb33dae4
commit
ccdfa790dd
@ -1,6 +1,8 @@
|
|||||||
{ inputs, pkgs, lib, config, ... }:
|
{ inputs, pkgs, lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
services.udev.packages = [ pkgs.gnome-settings-daemon ];
|
||||||
|
|
||||||
dconf = {
|
dconf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./home.nix
|
./home.nix
|
||||||
./bash.nix
|
./bash.nix
|
||||||
|
./gtk.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
#./vscode.nix
|
#./vscode.nix
|
||||||
|
21
home/gtk.nix
Normal file
21
home/gtk.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ inputs, pkgs, lib, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.sessionVariables.GTK_THEME = "Tokyonight-Dark-B";
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
# theme.name = "adw-gtk3";
|
||||||
|
theme = {
|
||||||
|
name = "Tokyonight-Dark-B";
|
||||||
|
package = pkgs.tokyo-night-gtk;
|
||||||
|
};
|
||||||
|
cursorTheme = {
|
||||||
|
name = "Oreo-Cursors";
|
||||||
|
package = pkgs.oreo-cursors-plus;
|
||||||
|
};
|
||||||
|
iconTheme = {
|
||||||
|
name = "breeze-dark";
|
||||||
|
package = pkgs.breeze-icons;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -6,12 +6,6 @@
|
|||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
theme.name = "adw-gtk3";
|
|
||||||
cursorTheme.name = "Bibata-Modern-Ice";
|
|
||||||
iconTheme.name = "GruvboxPlus";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
enable_audio_bell = false;
|
enable_audio_bell = false;
|
||||||
mouse_hide_wait = "-1.0";
|
mouse_hide_wait = "-1.0";
|
||||||
window_padding_width = 5;
|
window_padding_width = 5;
|
||||||
background_opacity = "0.8";
|
background_opacity = "0.90";
|
||||||
background_blur = 0;
|
background_blur = 5;
|
||||||
themeFile = "Alucard";
|
themeFile = "Alucard";
|
||||||
# symbol_map =
|
# symbol_map =
|
||||||
# let
|
# let
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hello
|
hello
|
||||||
tmux
|
tmux
|
||||||
|
gnomeExtensions.appindicator
|
||||||
|
|
||||||
#zsh-powerlevel10k
|
#zsh-powerlevel10k
|
||||||
#inputs.nixvim.packages.${pkgs.system}.default
|
#inputs.nixvim.packages.${pkgs.system}.default
|
||||||
|
115
home/vscode.nix
115
home/vscode.nix
@ -1,115 +0,0 @@
|
|||||||
{ inputs, pkgs, lib, config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
#package = pkgs.vscode.fhs;
|
|
||||||
enableUpdateCheck = false;
|
|
||||||
enableExtensionUpdateCheck = false;
|
|
||||||
mutableExtensionsDir = true;
|
|
||||||
|
|
||||||
# VSCode installation and extensions
|
|
||||||
extensions = (with pkgs.vscode-extensions; [
|
|
||||||
golang.go
|
|
||||||
ms-vscode.cpptools
|
|
||||||
ms-vsliveshare.vsliveshare
|
|
||||||
bbenoist.nix
|
|
||||||
ms-python.python
|
|
||||||
laravel.vscode-laravel
|
|
||||||
ms-azuretools.vscode-docker
|
|
||||||
ms-vscode-remote.remote-ssh
|
|
||||||
vscodevim.vim
|
|
||||||
enkia.tokyo-night
|
|
||||||
|
|
||||||
]);
|
|
||||||
|
|
||||||
# Settings
|
|
||||||
userSettings = {
|
|
||||||
# General
|
|
||||||
"editor.fontSize" = 13;
|
|
||||||
#"editor.fontFamily" = "'Jetbrains Mono', 'monospace', monospace";
|
|
||||||
"terminal.integrated.fontSize" = 14;
|
|
||||||
"terminal.integrated.fontFamily" = "'JetBrainsMono Nerd Font', 'monospace', monospace";
|
|
||||||
"window.zoomLevel" = 1;
|
|
||||||
"editor.multiCursorModifier" = "ctrlCmd";
|
|
||||||
"workbench.startupEditor" = "none";
|
|
||||||
"explorer.compactFolders" = false;
|
|
||||||
# Whitespace
|
|
||||||
"files.trimTrailingWhitespace" = true;
|
|
||||||
"files.trimFinalNewlines" = true;
|
|
||||||
"files.insertFinalNewline" = true;
|
|
||||||
"diffEditor.ignoreTrimWhitespace" = false;
|
|
||||||
# Git
|
|
||||||
"git.enableCommitSigning" = true;
|
|
||||||
"git-graph.repository.sign.commits" = true;
|
|
||||||
"git-graph.repository.sign.tags" = true;
|
|
||||||
"git-graph.repository.commits.showSignatureStatus" = true;
|
|
||||||
# Styling
|
|
||||||
"window.autoDetectColorScheme" = true;
|
|
||||||
"workbench.preferredDarkColorTheme" = "Default Dark Modern";
|
|
||||||
"workbench.preferredLightColorTheme" = "Default Light Modern";
|
|
||||||
"workbench.iconTheme" = "material-icon-theme";
|
|
||||||
"material-icon-theme.activeIconPack" = "none";
|
|
||||||
"material-icon-theme.folders.theme" = "classic";
|
|
||||||
# Other
|
|
||||||
"telemetry.telemetryLevel" = "off";
|
|
||||||
"update.showReleaseNotes" = false;
|
|
||||||
# # Gitmoji
|
|
||||||
# "gitmoji.onlyUseCustomEmoji" = true;
|
|
||||||
# "gitmoji.addCustomEmoji" = [
|
|
||||||
# {
|
|
||||||
# "emoji" = "📦 NEW:";
|
|
||||||
# "code" = ":package: NEW:";
|
|
||||||
# "description" = "... Add new code/feature";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# "emoji" = "👌 IMPROVE:";
|
|
||||||
# "code" = ":ok_hand: IMPROVE:";
|
|
||||||
# "description" = "... Improve existing code/feature";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# "emoji" = "❌ REMOVE:";
|
|
||||||
# "code" = ":x: REMOVE:";
|
|
||||||
# "description" = "... Remove existing code/feature";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# "emoji" = "🐛 FIX:";
|
|
||||||
# "code" = ":bug: FIX:";
|
|
||||||
# "description" = "... Fix a bug";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# "emoji" = "📑 DOC:";
|
|
||||||
# "code" = ":bookmark_tabs: DOC:";
|
|
||||||
# "description" = "... Anything related to documentation";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# "emoji" = "🤖 TEST:";
|
|
||||||
# "code" = ":robot: TEST:";
|
|
||||||
# "description" = "... Anything realted to tests";
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
};
|
|
||||||
# #vscode-extensions.hikarin522.glassit
|
|
||||||
# ]
|
|
||||||
# ++ pkgs.vscode-utils.extensionsfromvscodemarketplace [
|
|
||||||
# {
|
|
||||||
# name = "remote-ssh-edit";
|
|
||||||
# publisher = "ms-vscode-remote";
|
|
||||||
# version = "0.47.2";
|
|
||||||
# sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# name = "vsliveshare";
|
|
||||||
# publisher = "ms-vsliveshare";
|
|
||||||
# version = "1.0.5948"; # replace with the latest version
|
|
||||||
# sha256 = "kou9zf5l6mtlu8z/l4xbwrl2x3uie15yghezjrkshgy="; # replace with the calculated hash
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# name = "glassit";
|
|
||||||
# publisher = "s-nlf-fh";
|
|
||||||
# version = "0.2.6";
|
|
||||||
# sha256 = "lcaomgk91hnjwqaw4i0fagtowr8kwv7zhvgcgkokkuy=";
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -4,4 +4,5 @@
|
|||||||
{
|
{
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
#services.openssh.enable = true;
|
#services.openssh.enable = true;
|
||||||
|
services.udev.packages = [ pkgs.gnome-settings-daemon ];
|
||||||
}
|
}
|
||||||
|
@ -13,13 +13,9 @@
|
|||||||
ms-vsliveshare.vsliveshare
|
ms-vsliveshare.vsliveshare
|
||||||
bbenoist.nix
|
bbenoist.nix
|
||||||
ms-python.python
|
ms-python.python
|
||||||
#laravel.vscode-laravel
|
|
||||||
ms-azuretools.vscode-docker
|
|
||||||
ms-vscode-remote.remote-ssh
|
|
||||||
vscodevim.vim
|
vscodevim.vim
|
||||||
enkia.tokyo-night
|
enkia.tokyo-night
|
||||||
yzhang.markdown-all-in-one
|
yzhang.markdown-all-in-one
|
||||||
#onecentlin.laravel-extension-pack
|
|
||||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
{
|
{
|
||||||
name = "remote-ssh-edit";
|
name = "remote-ssh-edit";
|
||||||
@ -27,18 +23,19 @@
|
|||||||
version = "0.47.2";
|
version = "0.47.2";
|
||||||
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "vsliveshare";
|
|
||||||
publisher = "ms-vsliveshare";
|
|
||||||
version = "1.0.5948"; # replace with the latest version
|
|
||||||
sha256 = "kou9zf5l6mtlu8z/l4xbwrl2x3uie15yghezjrkshgy="; # replace with the calculated hash
|
|
||||||
}
|
|
||||||
# {
|
# {
|
||||||
# name = "glassit";
|
# name = "vsliveshare";
|
||||||
# publisher = "s-nlf-fh";
|
# publisher = "ms-vsliveshare";
|
||||||
# version = "0.2.6";
|
# version = "1.0.5948"; # replace with the latest version
|
||||||
# sha256 = "lcaomgk91hnjwqaw4i0fagtowr8kwv7zhvgcgkokkuy=";
|
# sha256 = "KOu9zF5l6MTLU8z/l4xBwRl2X3uIE15YgHEZJrKSHGY="; # replace with the calculated hash
|
||||||
# }
|
# }
|
||||||
|
{
|
||||||
|
name = "glassit";
|
||||||
|
publisher = "s-nlf-fh";
|
||||||
|
version = "0.2.6";
|
||||||
|
#sha256 = "lcaomgk91hnjwqaw4i0fagtowr8kwv7zhvgcgkokkuy=";
|
||||||
|
sha256 = "LcAomgK91hnJWqAW4I0FAgTOwr8Kwv7ZhvGCgkokKuY=";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -20,22 +20,6 @@
|
|||||||
show_symlink = true;
|
show_symlink = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# preview = {
|
|
||||||
# image_filter = "lanczos3";
|
|
||||||
# image_quality = 90;
|
|
||||||
# tab_size = 1;
|
|
||||||
# max_width = 600;
|
|
||||||
# max_height = 900;
|
|
||||||
# cache_dir = "";
|
|
||||||
# ueberzug_scale = 1;
|
|
||||||
# ueberzug_offset = [
|
|
||||||
# 0
|
|
||||||
# 0
|
|
||||||
# 0
|
|
||||||
# 0
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
# tasks = {
|
# tasks = {
|
||||||
# micro_workers = 5;
|
# micro_workers = 5;
|
||||||
# macro_workers = 10;
|
# macro_workers = 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user