mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
niveum-update, urxvt
This commit is contained in:
@@ -29,13 +29,14 @@ let
|
||||
in {
|
||||
environment.shellAliases = {
|
||||
ns = "nix-shell --run zsh";
|
||||
niveum-switch = "sudo -i nixos-rebuild --fast switch";
|
||||
niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
|
||||
# niveum-switch = "sudo -i nixos-rebuild --fast switch";
|
||||
# niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
|
||||
nixi = ''nix repl "<nixpkgs>"'';
|
||||
grep = "grep --color=auto";
|
||||
rm = "rm -i";
|
||||
cp = "cp -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";
|
||||
@@ -83,13 +84,6 @@ in {
|
||||
eval $(nix-build ~niveum/deploy.nix -A "$system") &
|
||||
done
|
||||
}
|
||||
|
||||
niveum-update() {
|
||||
nix-prefetch-git \ ~master
|
||||
--url https://github.com/NixOS/nixpkgs-channels \
|
||||
--rev refs/heads/nixos-18.09 \
|
||||
> ~niveum/nixpkgs.json
|
||||
}
|
||||
'';
|
||||
promptInit = ''
|
||||
autoload -Uz vcs_info
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ config, pkgs }:
|
||||
with import <dot/theme.nix>;
|
||||
let theme = import <dot/theme.nix>;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
package = pkgs.rxvt_unicode-with-plugins;
|
||||
@@ -9,7 +10,11 @@ with import <dot/theme.nix>;
|
||||
};
|
||||
scroll.bar.enable = false;
|
||||
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";
|
||||
fading = 20;
|
||||
iso14755 = false;
|
||||
|
||||
@@ -7,6 +7,9 @@ in with lib; lists.foldr
|
||||
"*foreground" = theme.colorScheme.foreground;
|
||||
"*fadeColor" = theme.colorScheme.background;
|
||||
"*cursorColor" = theme.colorScheme.cursorColor;
|
||||
|
||||
# "URxvt*font" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1";
|
||||
# "URxvt*boldFont" = "-*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-1";
|
||||
"*.font" = "xft:${theme.terminalFont.name}: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}";
|
||||
|
||||
Reference in New Issue
Block a user