More more

work
Matthew Ess 2021-01-10 23:29:23 -05:00
parent 4d027c0c6c
commit 6eb9f334d2
4 changed files with 44 additions and 40 deletions

41
hm-configs/files-all.nix Normal file
View File

@ -0,0 +1,41 @@
{
".config/fish/fishfile".text = ''
laughedelic/pisces
joehillen/to-fish
jethrokuan/z
decors/fish-colored-man
franciscolourenco/done
haslersn/fish-nix-completions
gyakovlev/fish-fzy
joseluisq/gitnow
edc/bass
fishpkg/fish-get
fishpkg/fish-spin
oh-my-fish/plugin-bang-bang
fishpkg/fish-humanize-duration
jorgebucaran/fish-getopts
matthewess/fish-autovenv
'';
".config/fish/completions/pijul.fish".source = ../assets/pijul.fish;
".config/fish/completions/systemctl.fish".source = ../assets/systemctl.fish;
".config/fish/functions/colortest.fish".source = ../assets/colortest.fish;
".config/fish/functions/mkdcd.fish".text = ''
function mkdcd -a target
mkdir $target
cd $target
end
'';
".config/fish/functions/unz.fish".text = ''
function unz -a target
# strip extensions
string match \*.zip $target; and set target (string split -r -m1 . $target)[1]
unzip -d $target $target
end
'';
".config/pijul/config.toml".text = ''
[author]
name = "mat"
full_name = "mat"
email = "mat@mat.services"
'';
}

View File

@ -1,26 +1,6 @@
{ {
".background-image".source = ../assets/background-image; ".background-image".source = ../assets/background-image;
".lockscreen-image".source = ../assets/lockscreen-image; ".lockscreen-image".source = ../assets/lockscreen-image;
".config/fish/fishfile".text = ''
laughedelic/pisces
joehillen/to-fish
jethrokuan/z
decors/fish-colored-man
franciscolourenco/done
haslersn/fish-nix-completions
gyakovlev/fish-fzy
joseluisq/gitnow
edc/bass
fishpkg/fish-get
fishpkg/fish-spin
oh-my-fish/plugin-bang-bang
fishpkg/fish-humanize-duration
jorgebucaran/fish-getopts
matthewess/fish-autovenv
'';
".config/fish/completions/pijul.fish".source = ../assets/pijul.fish;
".config/fish/completions/systemctl.fish".source = ../assets/systemctl.fish;
".config/fish/functions/colortest.fish".source = ../assets/colortest.fish;
".config/fish/functions/kbl.fish".text = '' ".config/fish/functions/kbl.fish".text = ''
function kbl -a level function kbl -a level
set -l initial (cat /sys/class/leds/tpacpi\:\:kbd_backlight/brightness) set -l initial (cat /sys/class/leds/tpacpi\:\:kbd_backlight/brightness)
@ -28,19 +8,6 @@
echo $level > /sys/class/leds/tpacpi\:\:kbd_backlight/brightness echo $level > /sys/class/leds/tpacpi\:\:kbd_backlight/brightness
end end
''; '';
".config/fish/functions/mkdcd.fish".text = ''
function mkdcd -a target
mkdir $target
cd $target
end
'';
".config/fish/functions/unz.fish".text = ''
function unz -a target
# strip extensions
string match \*.zip $target; and set target (string split -r -m1 . $target)[1]
unzip -d $target $target
end
'';
".config/i3status.toml".source = ../assets/i3status.toml; ".config/i3status.toml".source = ../assets/i3status.toml;
".config/kitty/kitty.conf".text = '' ".config/kitty/kitty.conf".text = ''
font_family Fira Code Regular font_family Fira Code Regular
@ -50,10 +17,4 @@
''; '';
".config/kitty/theme.conf".source = ../assets/kitty-theme.conf; ".config/kitty/theme.conf".source = ../assets/kitty-theme.conf;
".config/rofi/theme.rasi".source = ../assets/sidetab.rasi; ".config/rofi/theme.rasi".source = ../assets/sidetab.rasi;
".config/pijul/config.toml".text = ''
[author]
name = "mat"
full_name = "mat"
email = "mat@mat.services"
'';
} }

View File

@ -65,7 +65,6 @@ in {
fish = import ../hm-configs/fish.nix { inherit pkgs; }; fish = import ../hm-configs/fish.nix { inherit pkgs; };
jq.enable = true; jq.enable = true;
neovim = import ../hm-configs/neovim.nix { inherit pkgs; };
rofi = { rofi = {
enable = true; enable = true;
font = "Fira Code 14"; font = "Fira Code 14";

View File

@ -25,6 +25,7 @@ in {
pijul pijul
mullvad-vpn mullvad-vpn
]; ];
file = import ../hm-configs/files-all.nix;
}; };
programs = { programs = {
@ -89,6 +90,7 @@ in {
}; };
man.enable = true; man.enable = true;
neovim = import ../hm-configs/neovim.nix { inherit pkgs; };
ssh = { ssh = {
enable = true; enable = true;
@ -106,6 +108,7 @@ in {
baseIndex = 1; baseIndex = 1;
}; };
}; };
services = { lorri.enable = true; }; services = { lorri.enable = true; };
}; };