remove xonsh

This commit is contained in:
Andreas Zweili 2022-01-31 10:54:01 +01:00
parent 4a9a0c2846
commit 06261b011e
5 changed files with 5 additions and 34 deletions

View File

@ -80,7 +80,6 @@
./modules/espanso
./modules/lockscreen
./modules/restic
./modules/xonsh
];
staubfinger = mkComputer
./systems/staubfinger
@ -95,7 +94,6 @@
./modules/espanso
./modules/lockscreen
./modules/restic
./modules/xonsh
];
nixos-vm = mkComputer
./systems/desktop-vm
@ -103,7 +101,6 @@
[
./modules/desktop
./modules/espanso
./modules/xonsh
];
proxy = mkComputer
(mkVM
@ -120,7 +117,6 @@
./modules/code-server
./modules/docker
./modules/restic
./modules/xonsh
];
heimdall = mkComputer
(mkVM

View File

@ -9,9 +9,6 @@
];
programs.git.userEmail = "zweili@contria.com";
home.packages = with pkgs; [
xonsh
];
programs.bash = {
enable = true;

View File

@ -16,7 +16,11 @@
wget
];
environment.shellAliases = {
format = "nixpkgs-fmt **/*.nix";
format-modules = "nixpkgs-fmt **/*.nix";
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
rebuild = "sudo nixos-rebuild -j auto switch";
find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort";
vm = "vim";
};
}

View File

@ -80,12 +80,6 @@
trustedUsers = [ "root" "@wheel" ];
};
environment.shellAliases = {
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
rebuild = "sudo nixos-rebuild -j auto switch";
};
environment.variables = {
EDITOR = "vim";
HIGHLIGHT_STYLE = "solarized-light";

View File

@ -1,20 +0,0 @@
{ pkgs, username, ... }:
{
programs.xonsh = {
enable = true;
config = ''
aliases['management-server'] = "mosh ${username}@10.7.89.150 tmux a"
aliases['nix-generations'] = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system"
aliases['rebuild'] = "sudo nixos-rebuild -j auto switch"
aliases['find-garbage'] = "ls -l /nix/var/nix/gcroots/auto/ | sort"
aliases['format-module'] = "nixpkgs-fmt **/*.nix"
aliases['vm'] = "vim"
$XONSH_COLOR_STYLE = 'solarized-light'
$XONSH_HISTORY_BACKEND = 'sqlite'
'';
};
users.users.${username} = {
shell = pkgs.xonsh;
};
}