Merge branch 'zenix/hm-cosmic' into nixbook/cosmic

This commit is contained in:
tristan 2024-10-15 19:48:13 +01:00
commit 70e6d7ced5
12 changed files with 199 additions and 34 deletions

View file

@ -9,11 +9,18 @@
bclone = "!sh ${pkgs.writeShellScriptBin "bare-clone" ''
url=$1
basename=''${url##*/}
name=''${2:-''${basename%.*}}
if [[ $2 == -* ]]
then
opts=''${@:2}
name=''${basename%.*}
else
opts=''${@:3}
name=''${2:-''${basename%.*}}
fi
mkdir "$name"
git clone --bare "$url" "$name/.bare" || {
git clone --bare "$url" "$name/.bare" $opts || {
rm -r "$name"
exit 1
}
@ -23,7 +30,7 @@
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git fetch origin
git fetch origin $opts
''}/bin/bare-clone";
};
difftastic = {

View file

@ -9,11 +9,10 @@
# system
selectdefaultapplication
easyeffects
pavucontrol
pwvucontrol
helvum
# tools
obs-studio
inkscape
libsForQt5.okular
gimp
@ -31,6 +30,14 @@
bitwarden
];
programs.obs-studio = {
enable = true;
plugins = [
pkgs.obs-studio-plugins.wlrobs
pkgs.obs-studio-plugins.obs-pipewire-audio-capture
];
};
xdg.mimeApps.defaultApplications = {
"application/pdf" = "sioyek.desktop";
};
@ -46,6 +53,4 @@
"file:///home/tristan/Downloads"
];
};
programs.librewolf.enable = true;
}

View file

@ -37,6 +37,7 @@ in {
R = "drag";
"<f-2>" = ":rename";
"<enter>" = "open-with";
"<f-5>" = ":reload";
};
programs.lf.extraConfig = ''
set sixel true