mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
niveum-update, urxvt
This commit is contained in:
@@ -29,13 +29,14 @@ let
|
|||||||
in {
|
in {
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
ns = "nix-shell --run zsh";
|
ns = "nix-shell --run zsh";
|
||||||
niveum-switch = "sudo -i nixos-rebuild --fast switch";
|
# niveum-switch = "sudo -i nixos-rebuild --fast switch";
|
||||||
niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
|
# niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
|
||||||
nixi = ''nix repl "<nixpkgs>"'';
|
nixi = ''nix repl "<nixpkgs>"'';
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
rm = "rm -i";
|
rm = "rm -i";
|
||||||
cp = "cp -i";
|
cp = "cp -i";
|
||||||
mv = "mv -i";
|
mv = "mv -i";
|
||||||
|
niveum-update = "nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-18.09 > ~niveum/nixpkgs.json";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
|
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
|
||||||
@@ -83,13 +84,6 @@ in {
|
|||||||
eval $(nix-build ~niveum/deploy.nix -A "$system") &
|
eval $(nix-build ~niveum/deploy.nix -A "$system") &
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
niveum-update() {
|
|
||||||
nix-prefetch-git \ ~master
|
|
||||||
--url https://github.com/NixOS/nixpkgs-channels \
|
|
||||||
--rev refs/heads/nixos-18.09 \
|
|
||||||
> ~niveum/nixpkgs.json
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{ config, pkgs }:
|
{ config, pkgs }:
|
||||||
with import <dot/theme.nix>;
|
let theme = import <dot/theme.nix>;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rxvt_unicode-with-plugins;
|
package = pkgs.rxvt_unicode-with-plugins;
|
||||||
@@ -9,7 +10,11 @@ with import <dot/theme.nix>;
|
|||||||
};
|
};
|
||||||
scroll.bar.enable = false;
|
scroll.bar.enable = false;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
perl-ext-common = "default,clipboard,url-select,matcher";
|
perl-ext = "default,url-select";
|
||||||
|
"url-select.launcher" = "/usr/bin/env chromium";
|
||||||
|
"url-select.underline" = true;
|
||||||
|
"colorUL" = theme.colorScheme.blue.light;
|
||||||
|
"perl-lib" = "${pkgs.urxvt_perls}/lib/urxvt/perl";
|
||||||
urlLauncher = "/usr/bin/env chromium";
|
urlLauncher = "/usr/bin/env chromium";
|
||||||
fading = 20;
|
fading = 20;
|
||||||
iso14755 = false;
|
iso14755 = false;
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ in with lib; lists.foldr
|
|||||||
"*foreground" = theme.colorScheme.foreground;
|
"*foreground" = theme.colorScheme.foreground;
|
||||||
"*fadeColor" = theme.colorScheme.background;
|
"*fadeColor" = theme.colorScheme.background;
|
||||||
"*cursorColor" = theme.colorScheme.cursorColor;
|
"*cursorColor" = theme.colorScheme.cursorColor;
|
||||||
|
|
||||||
|
# "URxvt*font" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1";
|
||||||
|
# "URxvt*boldFont" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1";
|
||||||
"*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}";
|
"*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}";
|
||||||
"*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}";
|
"*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}";
|
||||||
"*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";
|
"*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";
|
||||||
|
|||||||
Reference in New Issue
Block a user