mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat
- fix tmux config - add window swallowing script - make scripts an overlay - setup disc burning
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user