1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
- fix tmux config
- add window swallowing script
- make scripts an overlay
- setup disc burning
This commit is contained in:
Kierán Meinhardt
2020-06-22 08:44:09 +02:00
parent e380f96f4c
commit 871370e7a8
8 changed files with 45 additions and 15 deletions

View File

@@ -111,6 +111,9 @@ in {
};
};
overlays = [
(self: super: {
scripts = import <niveum/packages/scripts> { pkgs = super; lib = super.lib; };
})
# (import <niveum/overlays/rust.nix>)
];
};
@@ -151,6 +154,10 @@ in {
isNormalUser = true;
};
}
{
environment.systemPackages = with pkgs; [ k3b bashburn brasero ];
users.users.me.extraGroups = [ "cdrom" ];
}
{
sound.enable = true;
@@ -176,6 +183,7 @@ in {
take = pkgs.writers.writeDash "take" ''
mkdir "$1" && cd "$1"
'';
swallow = command: "${pkgs.scripts.swallow}/bin/swallow ${command}";
in {
"ß" = "${pkgs.utillinux}/bin/setsid";
cat = "${pkgs.bat}/bin/bat --style=plain";
@@ -199,6 +207,8 @@ in {
take = "source ${take}";
tmux = "${pkgs.tmux}/bin/tmux -2";
tree = "${pkgs.exa}/bin/exa --tree";
sxiv = swallow "${pkgs.sxiv}/bin/sxiv";
zathura = swallow "${pkgs.zathura}/bin/zathura";
us = "${pkgs.systemd}/bin/systemctl --user";
wcd = "source ${wcd}";
weechat = "${pkgs.openssh}/bin/ssh kmein@prism.r -t tmux attach";