Tweaks and leftover bits

This commit is contained in:
Tibo De Peuter 2023-11-14 22:38:42 +01:00
parent d527049b6e
commit c872942e3b
4 changed files with 21 additions and 5 deletions

View file

@ -0,0 +1,12 @@
# The following is taken from: https://nixos-and-flakes.thiscute.world/nixpkgs/overlays
# import all nix files in the current folder, and execute them with args as parameters
# The return value is a list of all execution results, which is the list of overlays
args:
# execute and import all overlay files in the current directory with the given args
builtins.map
(f: (import (./. + "/${f}") args)) # execute and import the overlay file
(builtins.filter # find all overlay files in the current directory
(f: f != "default.nix")
(builtins.attrNames (builtins.readDir ./.)))

View file

@ -25,7 +25,8 @@ in {
users.users.tdpeuter = { users.users.tdpeuter = {
description = "Tibo De Peuter"; description = "Tibo De Peuter";
isNormalUser = true; isNormalUser = true;
extraGroups = [ extraGroups = config.sisyphus.users.wantedGroups ++ [
config.users.groups.input.name
config.users.groups.keys.name config.users.groups.keys.name
config.users.groups.networkmanager.name config.users.groups.networkmanager.name
config.users.groups.wheel.name config.users.groups.wheel.name
@ -36,8 +37,7 @@ in {
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
corefonts # Calibri for Uni corefonts # Calibri for Uni
font-awesome_5 # Dependency of Vifm config font-awesome # Dependency of Vifm & zsh config
font-awesome # Dependency of zsh
letter # Personal font letter # Personal font
noto-fonts-cjk # Dependency of Zellij config noto-fonts-cjk # Dependency of Zellij config
noto-fonts # Dependency of Zellij config noto-fonts # Dependency of Zellij config
@ -82,6 +82,9 @@ in {
zsh zsh
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
# SMB
cifs-utils psmisc
]) ++ (with pkgs-unstable; [ ]) ++ (with pkgs-unstable; [
mpv mpv
obsidian obsidian

View file

@ -70,7 +70,7 @@ in {
source = ../../../stow/zellij/.config/zellij; source = ../../../stow/zellij/.config/zellij;
}; };
".oh-my-zsh" = { ".oh-my-zsh" = {
enable = (builtins.elem pkgs.zsh installedPkgs); enable = true;
source = "${pkgs.oh-my-zsh}/share/oh-my-zsh"; source = "${pkgs.oh-my-zsh}/share/oh-my-zsh";
recursive = true; recursive = true;
}; };

View file

@ -257,7 +257,8 @@ filextype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ shotwell, \ shotwell,
\ gwenview &, \ gwenview &,
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*> fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ chafa, \ kitten icat %f,
\ chafa %f,
\ identify %f, \ identify %f,
" OpenRaster " OpenRaster