Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7f58c16441 | |||
|
2edc62ff13
|
|||
|
27fb719555
|
|||
| 5ab603b726 | |||
|
a3e09d0019
|
|||
|
ae895dc55f
|
|||
|
cb0645dd81
|
|||
| 0daf4eec9a |
@@ -21,6 +21,7 @@
|
|||||||
../../modules/nixos/protonvpn.nix
|
../../modules/nixos/protonvpn.nix
|
||||||
../../modules/nixos/services.nix
|
../../modules/nixos/services.nix
|
||||||
../../modules/nixos/settings.nix
|
../../modules/nixos/settings.nix
|
||||||
|
../../modules/nixos/thunar.nix
|
||||||
../../modules/nixos/steam.nix
|
../../modules/nixos/steam.nix
|
||||||
../../modules/nixos/users.nix
|
../../modules/nixos/users.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -8,18 +8,21 @@
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme will be set below
|
# add git and agents as plugins
|
||||||
theme = "";
|
|
||||||
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
||||||
|
# everything here lands before `source $ZSH/oh-my-zsh.sh`
|
||||||
|
extraConfig = ''
|
||||||
|
# make omz faster on large repositories
|
||||||
|
DISABLE_UNTRACKED_FILES_DIRTY=true
|
||||||
|
|
||||||
|
# only display a fancy theme when glyphs are rendered
|
||||||
|
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
||||||
|
ZSH_THEME="gentoo"
|
||||||
|
else
|
||||||
|
ZSH_THEME="agnoster"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
# only display a fancy theme when glyphs are rendered
|
|
||||||
initContent = lib.mkOrder 550 ''
|
|
||||||
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
|
||||||
ZSH_THEME="gentoo"
|
|
||||||
else
|
|
||||||
ZSH_THEME="agnoster"
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# set important env vars
|
# set important env vars
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable Thunar
|
||||||
|
programs.thunar.enable = true;
|
||||||
|
|
||||||
|
# Install Tumbler thumbnailer service
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
tumbler
|
||||||
|
];
|
||||||
|
|
||||||
|
# Ensure Thunar can locate the thumbnailer extensions
|
||||||
|
environment.pathsToLink = [ "share/thumbnailers" ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user