Compare commits

...

3 Commits

Author SHA1 Message Date
Sam 37bd716e05 Added/modified default environment options
- Added IMAGE_EDITOR = drawing
- Added IMAGE_VIEWER = nsxiv
- Modified TERMINAL from alacritty to st
2024-06-20 10:35:22 +01:00
Sam d804790b9b Moved gtk/qt themes to dedicated themes folder.
- Created dedicated themes folder in desktop/common/themes
- Created a new theme "standard-dark.nix"
- Import theme in host "semita"
- Removed theme options from user profile
2024-06-20 10:30:28 +01:00
Sam 974b90d997 Added fugitive package to nixvim 2024-06-20 10:08:10 +01:00
4 changed files with 30 additions and 26 deletions

View File

@ -22,6 +22,7 @@
pkgs.vimPlugins.vim-dadbod pkgs.vimPlugins.vim-dadbod
pkgs.vimPlugins.vim-dadbod-ui pkgs.vimPlugins.vim-dadbod-ui
pkgs.vimPlugins.vim-dadbod-completion pkgs.vimPlugins.vim-dadbod-completion
pkgs.vimPlugins.fugitive
(pkgs.vimUtils.buildVimPlugin (pkgs.vimUtils.buildVimPlugin
{ {

View File

@ -0,0 +1,24 @@
{ pkgs, ... }:
{
# Prevent error when enabling gtk https://github.com/nix-community/home-manager/issues/3113
# error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
home.packages = [ pkgs.dconf ];
gtk.enable = true;
home.file = {
".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
};
# Get details about theme package
#cd $(nix build nixpkgs#kanagawa-gtk-theme --print-out-paths --no-link) && nix run nixpkgs#eza -- --tree --level 4
gtk.theme.package = pkgs.kanagawa-gtk-theme;
gtk.theme.name = "Kanagawa-B";
gtk.iconTheme.package = pkgs.kanagawa-icon-theme;
gtk.iconTheme.name = "Kanagawa";
qt.enable = true;
qt.platformTheme.name = "gtk";
qt.style.name = "adwaita-dark";
qt.style.package = pkgs.adwaita-qt;
}

View File

@ -11,6 +11,7 @@
./common/optional/sops.nix ./common/optional/sops.nix
./common/optional/syncthing.nix ./common/optional/syncthing.nix
./common/optional/desktop/dwm ./common/optional/desktop/dwm
./common/optional/desktop/common/themes/standard-dark.nix
]; ];
# ------ # ------

View File

@ -1,4 +1,4 @@
{ pkgs, outputs, config, ... }: { outputs, ... }:
{ {
home.username = "sam"; home.username = "sam";
@ -8,10 +8,6 @@
imports = [ imports = [
] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules? ] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules?
home.file = {
".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
};
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = { matchBlocks = {
@ -38,30 +34,12 @@
videos = "/home/sam/vids"; videos = "/home/sam/vids";
}; };
# Prevent error when enabling gtk https://github.com/nix-community/home-manager/issues/3113
# error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
home.packages = [ pkgs.dconf ];
gtk.enable = true;
# Get details about theme package
#cd $(nix build nixpkgs#kanagawa-gtk-theme --print-out-paths --no-link) && nix run nixpkgs#eza -- --tree --level 4
gtk.theme.package = pkgs.kanagawa-gtk-theme;
gtk.theme.name = "Kanagawa-B";
gtk.iconTheme.package = pkgs.kanagawa-icon-theme;
gtk.iconTheme.name = "Kanagawa";
qt.enable = true;
qt.platformTheme.name = "gtk";
qt.style.name = "adwaita-dark";
qt.style.package = pkgs.adwaita-qt;
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
TERMINAL = "alacritty"; TERMINAL = "st";
READER = "zathura"; READER = "zathura";
IMAGE_VIEWER = ""; IMAGE_VIEWER = "nsxiv";
IMAGE_EDITOR = ""; IMAGE_EDITOR = "drawing";
}; };
} }