Tweaks and leftover bits
This commit is contained in:
parent
2d4ebe3370
commit
39992187a6
4 changed files with 21 additions and 5 deletions
12
nixos/overlays/default.nix
Normal file
12
nixos/overlays/default.nix
Normal 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 ./.)))
|
|
@ -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
|
||||||
|
@ -83,6 +83,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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue