mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests: implement auto importing for modules
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
4fca600cb1
commit
06c1392ca8
275 changed files with 752 additions and 573 deletions
|
|
@ -150,7 +150,6 @@ let
|
||||||
|
|
||||||
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
|
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
|
||||||
isLinux = pkgs.stdenv.hostPlatform.isLinux;
|
isLinux = pkgs.stdenv.hostPlatform.isLinux;
|
||||||
|
|
||||||
in
|
in
|
||||||
import nmtSrc {
|
import nmtSrc {
|
||||||
inherit lib pkgs modules;
|
inherit lib pkgs modules;
|
||||||
|
|
@ -158,373 +157,71 @@ import nmtSrc {
|
||||||
"home"
|
"home"
|
||||||
"activationPackage"
|
"activationPackage"
|
||||||
];
|
];
|
||||||
tests = builtins.foldl' (a: b: a // (import b)) { } (
|
tests =
|
||||||
[
|
builtins.foldl'
|
||||||
# keep-sorted start case=no numeric=yes
|
(
|
||||||
./lib/generators
|
a: b:
|
||||||
./lib/types
|
a
|
||||||
./modules/files
|
// (
|
||||||
./modules/home-environment
|
let
|
||||||
./modules/misc/fontconfig
|
imported = import b;
|
||||||
./modules/misc/manual
|
in
|
||||||
./modules/misc/nix
|
if lib.isFunction imported then imported { inherit lib pkgs; } else imported
|
||||||
./modules/misc/specialisation
|
)
|
||||||
./modules/misc/xdg
|
)
|
||||||
./modules/programs/aerc
|
{ }
|
||||||
./modules/programs/aichat
|
(
|
||||||
./modules/programs/alacritty
|
[
|
||||||
./modules/programs/alot
|
# keep-sorted start case=no numeric=yes
|
||||||
./modules/programs/antidote
|
./lib/generators
|
||||||
./modules/programs/aria2
|
./lib/types
|
||||||
./modules/programs/atuin
|
./modules/files
|
||||||
./modules/programs/autojump
|
./modules/home-environment
|
||||||
./modules/programs/bacon
|
./modules/misc/fontconfig
|
||||||
./modules/programs/bash
|
./modules/misc/manual
|
||||||
./modules/programs/bat
|
./modules/misc/nix
|
||||||
./modules/programs/borgmatic
|
./modules/misc/specialisation
|
||||||
./modules/programs/bottom
|
./modules/misc/xdg
|
||||||
./modules/programs/broot
|
./modules/xresources
|
||||||
./modules/programs/browserpass
|
# keep-sorted end
|
||||||
./modules/programs/btop
|
]
|
||||||
./modules/programs/carapace
|
++ lib.optionals isDarwin [
|
||||||
./modules/programs/cava
|
# keep-sorted start case=no numeric=yes
|
||||||
./modules/programs/clock-rs
|
./modules/launchd
|
||||||
./modules/programs/cmus
|
./modules/targets-darwin
|
||||||
./modules/programs/codex
|
# keep-sorted end
|
||||||
./modules/programs/comodoro
|
]
|
||||||
./modules/programs/darcs
|
++ lib.optionals isLinux [
|
||||||
./modules/programs/dircolors
|
# keep-sorted start case=no numeric=yes
|
||||||
./modules/programs/direnv
|
./modules/config/home-cursor
|
||||||
./modules/programs/earthly
|
./modules/config/i18n
|
||||||
./modules/programs/emacs
|
./modules/dbus
|
||||||
./modules/programs/eza
|
./modules/i18n/input-method
|
||||||
./modules/programs/fastfetch
|
./modules/misc/debug
|
||||||
./modules/programs/feh
|
./modules/misc/editorconfig
|
||||||
./modules/programs/firefox
|
./modules/misc/gtk
|
||||||
./modules/programs/firefox/firefox.nix
|
./modules/misc/numlock
|
||||||
./modules/programs/firefox/floorp.nix
|
./modules/misc/pam
|
||||||
./modules/programs/firefox/librewolf.nix
|
./modules/misc/qt
|
||||||
./modules/programs/fish
|
./modules/misc/xdg/linux.nix
|
||||||
./modules/programs/gallery-dl
|
./modules/misc/xsession
|
||||||
./modules/programs/gh
|
./modules/systemd
|
||||||
./modules/programs/gh-dash
|
./modules/targets-linux
|
||||||
./modules/programs/ghostty
|
# keep-sorted end
|
||||||
./modules/programs/git
|
]
|
||||||
./modules/programs/git-cliff
|
++ (lib.concatMap
|
||||||
./modules/programs/git-credential-oauth
|
(
|
||||||
./modules/programs/git-worktree-switcher
|
dir:
|
||||||
./modules/programs/go
|
lib.pipe dir [
|
||||||
./modules/programs/gpg
|
builtins.readDir
|
||||||
./modules/programs/gradle
|
(lib.filterAttrs (_path: kind: kind == "directory"))
|
||||||
./modules/programs/granted
|
(lib.mapAttrsToList (path: _kind: lib.path.append dir path))
|
||||||
./modules/programs/helix
|
]
|
||||||
./modules/programs/himalaya
|
)
|
||||||
./modules/programs/htop
|
[
|
||||||
./modules/programs/hwatch
|
./modules/services
|
||||||
./modules/programs/hyfetch
|
./modules/programs
|
||||||
./modules/programs/i3status
|
]
|
||||||
./modules/programs/inori
|
)
|
||||||
./modules/programs/irssi
|
);
|
||||||
./modules/programs/joplin-desktop
|
|
||||||
./modules/programs/jqp
|
|
||||||
./modules/programs/jujutsu
|
|
||||||
./modules/programs/k9s
|
|
||||||
./modules/programs/kakoune
|
|
||||||
./modules/programs/keepassxc
|
|
||||||
./modules/programs/khal
|
|
||||||
./modules/programs/khard
|
|
||||||
./modules/programs/kitty
|
|
||||||
./modules/programs/kubecolor
|
|
||||||
./modules/programs/lapce
|
|
||||||
./modules/programs/lazydocker
|
|
||||||
./modules/programs/lazysql
|
|
||||||
./modules/programs/ledger
|
|
||||||
./modules/programs/less
|
|
||||||
./modules/programs/lesspipe
|
|
||||||
./modules/programs/lf
|
|
||||||
./modules/programs/lieer
|
|
||||||
./modules/programs/lsd
|
|
||||||
./modules/programs/man
|
|
||||||
./modules/programs/mbsync
|
|
||||||
./modules/programs/mc
|
|
||||||
./modules/programs/meli
|
|
||||||
./modules/programs/mergiraf
|
|
||||||
./modules/programs/micro
|
|
||||||
./modules/programs/mise
|
|
||||||
./modules/programs/mods
|
|
||||||
./modules/programs/mpv
|
|
||||||
./modules/programs/mu
|
|
||||||
./modules/programs/mujmap
|
|
||||||
./modules/programs/ncmpcpp
|
|
||||||
./modules/programs/ne
|
|
||||||
./modules/programs/neomutt
|
|
||||||
./modules/programs/neovide
|
|
||||||
./modules/programs/neovim
|
|
||||||
./modules/programs/newsboat
|
|
||||||
./modules/programs/nheko
|
|
||||||
./modules/programs/nix-index
|
|
||||||
./modules/programs/nix-init
|
|
||||||
./modules/programs/nix-your-shell
|
|
||||||
./modules/programs/nnn
|
|
||||||
./modules/programs/numbat
|
|
||||||
./modules/programs/nushell
|
|
||||||
./modules/programs/nyxt
|
|
||||||
./modules/programs/oh-my-posh
|
|
||||||
./modules/programs/onlyoffice
|
|
||||||
./modules/programs/openstackclient
|
|
||||||
./modules/programs/pandoc
|
|
||||||
./modules/programs/papis
|
|
||||||
./modules/programs/pay-respects
|
|
||||||
./modules/programs/pet
|
|
||||||
./modules/programs/pgcli
|
|
||||||
./modules/programs/pistol
|
|
||||||
./modules/programs/pls
|
|
||||||
./modules/programs/poetry
|
|
||||||
./modules/programs/powerline-go
|
|
||||||
./modules/programs/pubs
|
|
||||||
./modules/programs/pyenv
|
|
||||||
./modules/programs/qcal
|
|
||||||
./modules/programs/qutebrowser
|
|
||||||
./modules/programs/ranger
|
|
||||||
./modules/programs/readline
|
|
||||||
./modules/programs/rio
|
|
||||||
./modules/programs/ripgrep
|
|
||||||
./modules/programs/ripgrep-all
|
|
||||||
./modules/programs/rmpc
|
|
||||||
./modules/programs/ruff
|
|
||||||
./modules/programs/sagemath
|
|
||||||
./modules/programs/sapling
|
|
||||||
./modules/programs/sbt
|
|
||||||
./modules/programs/scmpuff
|
|
||||||
./modules/programs/senpai
|
|
||||||
./modules/programs/sesh
|
|
||||||
./modules/programs/sftpman
|
|
||||||
./modules/programs/sioyek
|
|
||||||
./modules/programs/sm64ex
|
|
||||||
./modules/programs/smug
|
|
||||||
./modules/programs/spotify-player
|
|
||||||
./modules/programs/ssh
|
|
||||||
./modules/programs/starship
|
|
||||||
./modules/programs/streamlink
|
|
||||||
./modules/programs/superfile
|
|
||||||
./modules/programs/taskwarrior
|
|
||||||
./modules/programs/tealdeer
|
|
||||||
./modules/programs/television
|
|
||||||
./modules/programs/tex-fmt
|
|
||||||
./modules/programs/texlive
|
|
||||||
./modules/programs/thefuck
|
|
||||||
./modules/programs/thunderbird
|
|
||||||
./modules/programs/tmate
|
|
||||||
./modules/programs/tmux
|
|
||||||
./modules/programs/topgrade
|
|
||||||
./modules/programs/translate-shell
|
|
||||||
./modules/programs/uv
|
|
||||||
./modules/programs/vifm
|
|
||||||
./modules/programs/vim-vint
|
|
||||||
./modules/programs/visidata
|
|
||||||
./modules/programs/vscode
|
|
||||||
./modules/programs/wallust
|
|
||||||
./modules/programs/watson
|
|
||||||
./modules/programs/waveterm
|
|
||||||
./modules/programs/wezterm
|
|
||||||
./modules/programs/yazi
|
|
||||||
./modules/programs/zed-editor
|
|
||||||
./modules/programs/zellij
|
|
||||||
./modules/programs/zk
|
|
||||||
./modules/programs/zplug
|
|
||||||
./modules/programs/zsh
|
|
||||||
./modules/services/gpg-agent
|
|
||||||
./modules/services/syncthing/common
|
|
||||||
./modules/xresources
|
|
||||||
# keep-sorted end
|
|
||||||
]
|
|
||||||
++ lib.optionals isDarwin [
|
|
||||||
# keep-sorted start case=no numeric=yes
|
|
||||||
./modules/launchd
|
|
||||||
./modules/programs/aerospace
|
|
||||||
./modules/programs/element-desktop/darwin.nix
|
|
||||||
./modules/programs/sketchybar
|
|
||||||
./modules/services/borgmatic-darwin
|
|
||||||
./modules/services/emacs-darwin
|
|
||||||
./modules/services/espanso-darwin
|
|
||||||
./modules/services/git-sync-darwin
|
|
||||||
./modules/services/home-manager-auto-expire-darwin
|
|
||||||
./modules/services/imapnotify-darwin
|
|
||||||
./modules/services/jankyborders
|
|
||||||
./modules/services/macos-remap-keys
|
|
||||||
./modules/services/nix-gc-darwin
|
|
||||||
./modules/services/ollama/darwin
|
|
||||||
./modules/services/skhd
|
|
||||||
./modules/services/yubikey-agent-darwin
|
|
||||||
./modules/targets-darwin
|
|
||||||
# keep-sorted end
|
|
||||||
]
|
|
||||||
++ lib.optionals isLinux [
|
|
||||||
# keep-sorted start case=no numeric=yes
|
|
||||||
./modules/config/home-cursor
|
|
||||||
./modules/config/i18n
|
|
||||||
./modules/dbus
|
|
||||||
./modules/i18n/input-method
|
|
||||||
./modules/misc/debug
|
|
||||||
./modules/misc/editorconfig
|
|
||||||
./modules/misc/gtk
|
|
||||||
./modules/misc/numlock
|
|
||||||
./modules/misc/pam
|
|
||||||
./modules/misc/qt
|
|
||||||
./modules/misc/xdg/linux.nix
|
|
||||||
./modules/misc/xsession
|
|
||||||
./modules/programs/abook
|
|
||||||
./modules/programs/anyrun
|
|
||||||
./modules/programs/autorandr
|
|
||||||
./modules/programs/awscli
|
|
||||||
./modules/programs/beets # One test relies on services.mpd
|
|
||||||
./modules/programs/bemenu
|
|
||||||
./modules/programs/boxxy
|
|
||||||
./modules/programs/cavalier
|
|
||||||
./modules/programs/distrobox
|
|
||||||
./modules/programs/element-desktop/linux.nix
|
|
||||||
./modules/programs/eww
|
|
||||||
./modules/programs/foliate
|
|
||||||
./modules/programs/foot
|
|
||||||
./modules/programs/freetube
|
|
||||||
./modules/programs/fuzzel
|
|
||||||
./modules/programs/getmail
|
|
||||||
./modules/programs/gnome-shell
|
|
||||||
./modules/programs/gnome-terminal
|
|
||||||
./modules/programs/halloy
|
|
||||||
./modules/programs/hexchat
|
|
||||||
./modules/programs/hyprlock
|
|
||||||
./modules/programs/i3bar-river
|
|
||||||
./modules/programs/i3blocks
|
|
||||||
./modules/programs/i3status-rust
|
|
||||||
./modules/programs/imv
|
|
||||||
./modules/programs/kickoff
|
|
||||||
./modules/programs/kodi
|
|
||||||
./modules/programs/looking-glass-client
|
|
||||||
./modules/programs/lutris
|
|
||||||
./modules/programs/mangohud
|
|
||||||
./modules/programs/mpvpaper
|
|
||||||
./modules/programs/ncmpcpp-linux
|
|
||||||
./modules/programs/nh
|
|
||||||
./modules/programs/niriswitcher
|
|
||||||
./modules/programs/onagre
|
|
||||||
./modules/programs/onedrive
|
|
||||||
./modules/programs/pqiv
|
|
||||||
./modules/programs/ptyxis
|
|
||||||
./modules/programs/rbw
|
|
||||||
./modules/programs/rofi
|
|
||||||
./modules/programs/rofi-pass
|
|
||||||
./modules/programs/sway-easyfocus
|
|
||||||
./modules/programs/swayimg
|
|
||||||
./modules/programs/swaylock
|
|
||||||
./modules/programs/swayr
|
|
||||||
./modules/programs/terminator
|
|
||||||
./modules/programs/tofi
|
|
||||||
./modules/programs/vesktop
|
|
||||||
./modules/programs/vinegar
|
|
||||||
./modules/programs/waybar
|
|
||||||
./modules/programs/wayprompt
|
|
||||||
./modules/programs/wlogout
|
|
||||||
./modules/programs/wofi
|
|
||||||
./modules/programs/xmobar
|
|
||||||
./modules/programs/yambar
|
|
||||||
./modules/programs/yt-dlp
|
|
||||||
./modules/services/activitywatch
|
|
||||||
./modules/services/avizo
|
|
||||||
./modules/services/barrier
|
|
||||||
./modules/services/blanket
|
|
||||||
./modules/services/borgmatic
|
|
||||||
./modules/services/cachix-agent
|
|
||||||
./modules/services/clipcat
|
|
||||||
./modules/services/cliphist
|
|
||||||
./modules/services/clipman
|
|
||||||
./modules/services/clipse
|
|
||||||
./modules/services/comodoro
|
|
||||||
./modules/services/conky
|
|
||||||
./modules/services/copyq
|
|
||||||
./modules/services/darkman
|
|
||||||
./modules/services/davmail
|
|
||||||
./modules/services/devilspie2
|
|
||||||
./modules/services/dropbox
|
|
||||||
./modules/services/easyeffects
|
|
||||||
./modules/services/emacs
|
|
||||||
./modules/services/espanso
|
|
||||||
./modules/services/flameshot
|
|
||||||
./modules/services/fluidsynth
|
|
||||||
./modules/services/fnott
|
|
||||||
./modules/services/fusuma
|
|
||||||
./modules/services/git-sync
|
|
||||||
./modules/services/glance
|
|
||||||
./modules/services/gromit-mpx
|
|
||||||
./modules/services/home-manager-auto-expire
|
|
||||||
./modules/services/home-manager-auto-upgrade
|
|
||||||
./modules/services/hypridle
|
|
||||||
./modules/services/hyprpaper
|
|
||||||
./modules/services/hyprpolkitagent
|
|
||||||
./modules/services/hyprsunset
|
|
||||||
./modules/services/imapnotify
|
|
||||||
./modules/services/kanshi
|
|
||||||
./modules/services/lieer
|
|
||||||
./modules/services/linux-wallpaperengine
|
|
||||||
./modules/services/lxqt-policykit-agent
|
|
||||||
./modules/services/mako
|
|
||||||
./modules/services/mopidy
|
|
||||||
./modules/services/mpd
|
|
||||||
./modules/services/mpd-mpris
|
|
||||||
./modules/services/mpdris2
|
|
||||||
./modules/services/mpdscribble
|
|
||||||
./modules/services/nix-gc
|
|
||||||
./modules/services/ollama/linux
|
|
||||||
./modules/services/osmscout-server
|
|
||||||
./modules/services/pantalaimon
|
|
||||||
./modules/services/parcellite
|
|
||||||
./modules/services/pass-secret-service
|
|
||||||
./modules/services/pasystray
|
|
||||||
./modules/services/pbgopy
|
|
||||||
./modules/services/picom
|
|
||||||
./modules/services/playerctld
|
|
||||||
./modules/services/podman-linux
|
|
||||||
./modules/services/polkit-gnome
|
|
||||||
./modules/services/polybar
|
|
||||||
./modules/services/recoll
|
|
||||||
./modules/services/redshift-gammastep
|
|
||||||
./modules/services/remmina
|
|
||||||
./modules/services/restic
|
|
||||||
./modules/services/screen-locker
|
|
||||||
./modules/services/shikane
|
|
||||||
./modules/services/signaturepdf
|
|
||||||
./modules/services/snixembed
|
|
||||||
./modules/services/swayidle
|
|
||||||
./modules/services/swaync
|
|
||||||
./modules/services/swayosd
|
|
||||||
./modules/services/swww
|
|
||||||
./modules/services/sxhkd
|
|
||||||
./modules/services/syncthing/linux
|
|
||||||
./modules/services/tldr-update
|
|
||||||
./modules/services/trayer
|
|
||||||
./modules/services/trayscale
|
|
||||||
./modules/services/twmn
|
|
||||||
./modules/services/udiskie
|
|
||||||
./modules/services/volnoti
|
|
||||||
./modules/services/way-displays
|
|
||||||
./modules/services/wayvnc
|
|
||||||
./modules/services/window-managers/bspwm
|
|
||||||
./modules/services/window-managers/herbstluftwm
|
|
||||||
./modules/services/window-managers/hyprland
|
|
||||||
./modules/services/window-managers/i3
|
|
||||||
./modules/services/window-managers/labwc
|
|
||||||
./modules/services/window-managers/river
|
|
||||||
./modules/services/window-managers/spectrwm
|
|
||||||
./modules/services/window-managers/sway
|
|
||||||
./modules/services/window-managers/wayfire
|
|
||||||
./modules/services/wlsunset
|
|
||||||
./modules/services/wob
|
|
||||||
./modules/services/wpaperd
|
|
||||||
./modules/services/xsettingsd
|
|
||||||
./modules/services/yubikey-agent
|
|
||||||
./modules/systemd
|
|
||||||
./modules/targets-linux
|
|
||||||
# keep-sorted end
|
|
||||||
]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
27
tests/flake.lock
generated
Normal file
27
tests/flake.lock
generated
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1750506804,
|
||||||
|
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
abook-no-settings = ./no-settings.nix;
|
abook-no-settings = ./no-settings.nix;
|
||||||
abook-with-settings = ./with-settings.nix;
|
abook-with-settings = ./with-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ aerospace = ./aerospace.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||||
|
aerospace = ./aerospace.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ anyrun = ./basic-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
anyrun = ./basic-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
autorandr-basic-configuration = ./basic-configuration.nix;
|
autorandr-basic-configuration = ./basic-configuration.nix;
|
||||||
autorandr-scale = ./scale.nix;
|
autorandr-scale = ./scale.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ awscli = ./awscli.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
awscli = ./awscli.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
beets-mpdstats = ./mpdstats.nix;
|
beets-mpdstats = ./mpdstats.nix;
|
||||||
beets-mpdstats-external = ./mpdstats-external.nix;
|
beets-mpdstats-external = ./mpdstats-external.nix;
|
||||||
beets-mpdupdate = ./mpdupdate.nix;
|
beets-mpdupdate = ./mpdupdate.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
bemenu-empty-configuration = ./empty-configuration.nix;
|
bemenu-empty-configuration = ./empty-configuration.nix;
|
||||||
bemenu-basic-configuration = ./basic-configuration.nix;
|
bemenu-basic-configuration = ./basic-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
boxxy-empty-settings = ./empty-settings.nix;
|
boxxy-empty-settings = ./empty-settings.nix;
|
||||||
boxxy-example-settings = ./example-settings.nix;
|
boxxy-example-settings = ./example-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
cavalier-general-settings = ./cavalier-general-settings.nix;
|
cavalier-general-settings = ./cavalier-general-settings.nix;
|
||||||
cavalier-cava-settings = ./cavalier-cava-settings.nix;
|
cavalier-cava-settings = ./cavalier-cava-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ distrobox-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
distrobox-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ element-desktop-darwin = ./example-config-darwin.nix; }
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{ element-desktop = ./example-config-darwin.nix; }
|
||||||
|
|
@ -54,15 +54,15 @@
|
||||||
assertFileExists "home-files/Library/Application Support/Element-other/config.json"
|
assertFileExists "home-files/Library/Application Support/Element-other/config.json"
|
||||||
|
|
||||||
assertFileContent "home-files/Library/Application Support/Element/config.json" \
|
assertFileContent "home-files/Library/Application Support/Element/config.json" \
|
||||||
${./cfg/default.json}
|
${../cfg/default.json}
|
||||||
|
|
||||||
assertFileContent "home-files/Library/Application Support/Element-work/config.json" \
|
assertFileContent "home-files/Library/Application Support/Element-work/config.json" \
|
||||||
${./cfg/work.json}
|
${../cfg/work.json}
|
||||||
|
|
||||||
assertFileContent "home-files/Library/Application Support/Element-home/config.json" \
|
assertFileContent "home-files/Library/Application Support/Element-home/config.json" \
|
||||||
${./cfg/home.json}
|
${../cfg/home.json}
|
||||||
|
|
||||||
assertFileContent "home-files/Library/Application Support/Element-other/config.json" \
|
assertFileContent "home-files/Library/Application Support/Element-other/config.json" \
|
||||||
${./cfg/other.json}
|
${../cfg/other.json}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
3
tests/modules/programs/element-desktop/default.nix
Normal file
3
tests/modules/programs/element-desktop/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
|
||||||
|
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{ element-desktop-linux = ./example-config-linux.nix; }
|
|
||||||
3
tests/modules/programs/element-desktop/linux/default.nix
Normal file
3
tests/modules/programs/element-desktop/linux/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
element-desktop = ./example-config-linux.nix;
|
||||||
|
}
|
||||||
|
|
@ -54,15 +54,15 @@
|
||||||
assertFileExists home-files/.config/Element-other/config.json
|
assertFileExists home-files/.config/Element-other/config.json
|
||||||
|
|
||||||
assertFileContent home-files/.config/Element/config.json \
|
assertFileContent home-files/.config/Element/config.json \
|
||||||
${./cfg/default.json}
|
${../cfg/default.json}
|
||||||
|
|
||||||
assertFileContent home-files/.config/Element-work/config.json \
|
assertFileContent home-files/.config/Element-work/config.json \
|
||||||
${./cfg/work.json}
|
${../cfg/work.json}
|
||||||
|
|
||||||
assertFileContent home-files/.config/Element-home/config.json \
|
assertFileContent home-files/.config/Element-home/config.json \
|
||||||
${./cfg/home.json}
|
${../cfg/home.json}
|
||||||
|
|
||||||
assertFileContent home-files/.config/Element-other/config.json \
|
assertFileContent home-files/.config/Element-other/config.json \
|
||||||
${./cfg/other.json}
|
${../cfg/other.json}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
eww-basic-config = ./basic-config.nix;
|
eww-basic-config = ./basic-config.nix;
|
||||||
eww-null-config = ./null-config.nix;
|
eww-null-config = ./null-config.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,6 @@
|
||||||
{ "firefox-multiple-derivatives" = ./multiple-derivatives.nix; }
|
{
|
||||||
|
"firefox-multiple-derivatives" = ./multiple-derivatives.nix;
|
||||||
|
}
|
||||||
|
// (import ./firefox.nix)
|
||||||
|
// (import ./floorp.nix)
|
||||||
|
// (import ./librewolf.nix)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
foliate-basic-theme = ./basic-theme.nix;
|
foliate-basic-theme = ./basic-theme.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
foot-example-settings = ./example-settings.nix;
|
foot-example-settings = ./example-settings.nix;
|
||||||
foot-empty-settings = ./empty-settings.nix;
|
foot-empty-settings = ./empty-settings.nix;
|
||||||
foot-systemd-user-service = ./systemd-user-service.nix;
|
foot-systemd-user-service = ./systemd-user-service.nix;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ freetube-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
freetube-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
fuzzel-example-settings = ./example-settings.nix;
|
fuzzel-example-settings = ./example-settings.nix;
|
||||||
fuzzel-empty-settings = ./empty-settings.nix;
|
fuzzel-empty-settings = ./empty-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ getmail = ./getmail.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
getmail = ./getmail.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ gnome-shell = ./gnome-shell.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
gnome-shell = ./gnome-shell.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
gnome-terminal-1 = ./gnome-terminal-1.nix;
|
gnome-terminal-1 = ./gnome-terminal-1.nix;
|
||||||
gnome-terminal-bad-profile-name = ./bad-profile-name.nix;
|
gnome-terminal-bad-profile-name = ./bad-profile-name.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ halloy-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
halloy-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ hexchat-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
hexchat-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
hyprlock-basic-configuration = ./basic-configuration.nix;
|
hyprlock-basic-configuration = ./basic-configuration.nix;
|
||||||
hyprlock-complex-configuration = ./complex-configuration.nix;
|
hyprlock-complex-configuration = ./complex-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ i3bar-river-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
i3bar-river-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ i3blocks-with-ordered-blocks = ./with-ordered-blocks.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
i3blocks-with-ordered-blocks = ./with-ordered-blocks.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
i3status-rust-with-default = ./with-default.nix;
|
i3status-rust-with-default = ./with-default.nix;
|
||||||
i3status-rust-with-custom = ./with-custom.nix;
|
i3status-rust-with-custom = ./with-custom.nix;
|
||||||
i3status-rust-with-extra-settings = ./with-extra-settings.nix;
|
i3status-rust-with-extra-settings = ./with-extra-settings.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
imv-basic-configuration = ./basic-configuration.nix;
|
imv-basic-configuration = ./basic-configuration.nix;
|
||||||
imv-empty-configuration = ./empty-configuration.nix;
|
imv-empty-configuration = ./empty-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ kickoff-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
kickoff-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
kodi-example-addon-settings = ./example-addon-settings.nix;
|
kodi-example-addon-settings = ./example-addon-settings.nix;
|
||||||
kodi-example-settings = ./example-settings.nix;
|
kodi-example-settings = ./example-settings.nix;
|
||||||
kodi-example-sources = ./example-sources.nix;
|
kodi-example-sources = ./example-sources.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
looking-glass-client-example-settings = ./example-settings.nix;
|
looking-glass-client-example-settings = ./example-settings.nix;
|
||||||
looking-glass-client-empty-settings = ./empty-settings.nix;
|
looking-glass-client-empty-settings = ./empty-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
lutris-runners = ./runners-configuration.nix;
|
lutris-runners = ./runners-configuration.nix;
|
||||||
# lutris-wine = ./wine-configuration.nix;
|
# lutris-wine = ./wine-configuration.nix;
|
||||||
lutris-empty = ./empty.nix;
|
lutris-empty = ./empty.nix;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ mangohud-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
mangohud-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ mpvpaper-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
mpvpaper-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
ncmpcpp-use-mpd-config = ./ncmpcpp-use-mpd-config.nix;
|
ncmpcpp-use-mpd-config = ./ncmpcpp-use-mpd-config.nix;
|
||||||
ncmpcpp-issue-3560 = ./ncmpcpp-issue-3560.nix;
|
ncmpcpp-issue-3560 = ./ncmpcpp-issue-3560.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ nh = ./nh.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
nh = ./nh.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ niriswitcher-program = ./niriswitcher.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
niriswitcher-program = ./niriswitcher.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ onagre-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
onagre-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ onedrive-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
onedrive-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ pqiv-settings = ./settings.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
pqiv-settings = ./settings.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
ptyxis-basic-palette = ./palette.nix;
|
ptyxis-basic-palette = ./palette.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
rbw-empty-settings = ./empty-settings.nix;
|
rbw-empty-settings = ./empty-settings.nix;
|
||||||
rbw-simple-settings = ./simple-settings.nix;
|
rbw-simple-settings = ./simple-settings.nix;
|
||||||
rbw-settings = ./settings.nix;
|
rbw-settings = ./settings.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
rofi-pass-root = ./rofi-pass-root.nix;
|
rofi-pass-root = ./rofi-pass-root.nix;
|
||||||
rofi-pass-config = ./rofi-pass-config.nix;
|
rofi-pass-config = ./rofi-pass-config.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
rofi-valid-config = ./valid-config.nix;
|
rofi-valid-config = ./valid-config.nix;
|
||||||
rofi-custom-theme = ./custom-theme.nix;
|
rofi-custom-theme = ./custom-theme.nix;
|
||||||
rofi-config-with-deprecated-options = ./config-with-deprecated-options.nix;
|
rofi-config-with-deprecated-options = ./config-with-deprecated-options.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||||
sketchybar = ./sketchybar.nix;
|
sketchybar = ./sketchybar.nix;
|
||||||
sketchybar-directory-config = ./sketchybar-directory-config.nix;
|
sketchybar-directory-config = ./sketchybar-directory-config.nix;
|
||||||
sketchybar-invalid-lua-config = ./sketchybar-invalid-lua-config.nix;
|
sketchybar-invalid-lua-config = ./sketchybar-invalid-lua-config.nix;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ sway-easyfocus-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
sway-easyfocus-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
swayimg-empty-settings = ./empty-settings.nix;
|
swayimg-empty-settings = ./empty-settings.nix;
|
||||||
swayimg-example-settings = ./example-settings.nix;
|
swayimg-example-settings = ./example-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
swaylock-disabled = import ./disabled.nix;
|
swaylock-disabled = import ./disabled.nix;
|
||||||
swaylock-settings = import ./settings.nix;
|
swaylock-settings = import ./settings.nix;
|
||||||
swaylock-enabled = import ./enabled.nix;
|
swaylock-enabled = import ./enabled.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
swayr-basic-configuration = ./basic-configuration.nix;
|
swayr-basic-configuration = ./basic-configuration.nix;
|
||||||
swayr-empty-configuration = ./empty-configuration.nix;
|
swayr-empty-configuration = ./empty-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ terminator-config-file = ./config-file.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
terminator-config-file = ./config-file.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
path = "/home/hm-user/base/path/calendar/*/*"
|
path = "/home/hm-user/base/path/calendar/*/*"
|
||||||
date_format = "%d.%m.%Y"
|
date_format = "%d.%m.%Y"
|
||||||
default_list = "test"
|
default_list = "test"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ tofi-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
tofi-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
{ vesktop-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
vesktop-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
vinegar-empty-settings = ./empty-settings.nix;
|
vinegar-empty-settings = ./empty-settings.nix;
|
||||||
vinegar-example-settings = ./example-settings.nix;
|
vinegar-example-settings = ./example-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
waybar-systemd-with-graphical-session-target = ./systemd-with-graphical-session-target.nix;
|
waybar-systemd-with-graphical-session-target = ./systemd-with-graphical-session-target.nix;
|
||||||
waybar-styling = ./styling.nix;
|
waybar-styling = ./styling.nix;
|
||||||
waybar-settings-complex = ./settings-complex.nix;
|
waybar-settings-complex = ./settings-complex.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
wayprompt-empty-settings = ./empty-settings.nix;
|
wayprompt-empty-settings = ./empty-settings.nix;
|
||||||
wayprompt-example-settings = ./example-settings.nix;
|
wayprompt-example-settings = ./example-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
wlogout-styling = ./styling.nix;
|
wlogout-styling = ./styling.nix;
|
||||||
wlogout-layout-single = ./layout-single.nix;
|
wlogout-layout-single = ./layout-single.nix;
|
||||||
wlogout-layout-multiple = ./layout-multiple.nix;
|
wlogout-layout-multiple = ./layout-multiple.nix;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
wofi-basic-configuration = ./basic-configuration.nix;
|
wofi-basic-configuration = ./basic-configuration.nix;
|
||||||
wofi-empty-configuration = ./empty-configuration.nix;
|
wofi-empty-configuration = ./empty-configuration.nix;
|
||||||
wofi-style-local-file = ./style-local-file.nix;
|
wofi-style-local-file = ./style-local-file.nix;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ xmobar-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
xmobar-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
yambar-empty-settings = ./empty-settings.nix;
|
yambar-empty-settings = ./empty-settings.nix;
|
||||||
yambar-example-settings = ./example-settings.nix;
|
yambar-example-settings = ./example-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
yt-dlp-simple-config = ./yt-dlp-simple-config.nix;
|
yt-dlp-simple-config = ./yt-dlp-simple-config.nix;
|
||||||
yt-dlp-extraConfig = ./yt-dlp-extraConfig.nix;
|
yt-dlp-extraConfig = ./yt-dlp-extraConfig.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
activitywatch-basic-setup = ./basic-setup.nix;
|
activitywatch-basic-setup = ./basic-setup.nix;
|
||||||
activitywatch-empty-server-settings = ./empty-server-settings.nix;
|
activitywatch-empty-server-settings = ./empty-server-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
avizo-with-settings = ./with-settings.nix;
|
avizo-with-settings = ./with-settings.nix;
|
||||||
avizo-without-settings = ./without-settings.nix;
|
avizo-without-settings = ./without-settings.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ barrier-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
barrier-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ blanket-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
blanket-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
darwin-borgmatic-service-basic-configuration = ./basic-configuration.nix;
|
|
||||||
darwin-borgmatic-frequency-assertion = ./frequency-assertion.nix;
|
|
||||||
}
|
|
||||||
4
tests/modules/services/borgmatic/darwin/default.nix
Normal file
4
tests/modules/services/borgmatic/darwin/default.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
borgmatic-service-basic-configuration = ./basic-configuration.nix;
|
||||||
|
borgmatic-frequency-assertion = ./frequency-assertion.nix;
|
||||||
|
}
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
{ borgmatic-service-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
|
||||||
|
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))
|
||||||
|
|
|
||||||
3
tests/modules/services/borgmatic/linux/default.nix
Normal file
3
tests/modules/services/borgmatic/linux/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
borgmatic-service-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
5
tests/modules/services/bspwm/default.nix
Normal file
5
tests/modules/services/bspwm/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
bspwm-configuration = ./configuration.nix;
|
||||||
|
}
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ cachix = ./basic-setup.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
cachix = ./basic-setup.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ clipcat-example-config = ./example-config.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
clipcat-example-config = ./example-config.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
cliphist-sway-session-target = ./cliphist-sway-session-target.nix;
|
cliphist-sway-session-target = ./cliphist-sway-session-target.nix;
|
||||||
cliphist-extra-options = ./cliphist-extra-options.nix;
|
cliphist-extra-options = ./cliphist-extra-options.nix;
|
||||||
cliphist-multiple-session-targets = ./cliphist-multiple-session-targets.nix;
|
cliphist-multiple-session-targets = ./cliphist-multiple-session-targets.nix;
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ clipman-sway-session-target = ./clipman-sway-session-target.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
clipman-sway-session-target = ./clipman-sway-session-target.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ clipse-sway-session-target = ./clipse-sway-session-target.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
clipse-sway-session-target = ./clipse-sway-session-target.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ comodoro-service = ./comodoro.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
comodoro-service = ./comodoro.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ conky-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
conky-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
copyq-basic-configuration = ./basic-configuration.nix;
|
copyq-basic-configuration = ./basic-configuration.nix;
|
||||||
copyq-dont-force-x = ./dont-force-x-configuration.nix;
|
copyq-dont-force-x = ./dont-force-x-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
darkman-basic-configuration = ./basic-configuration.nix;
|
darkman-basic-configuration = ./basic-configuration.nix;
|
||||||
darkman-no-configuration = ./no-configuration.nix;
|
darkman-no-configuration = ./no-configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
davmail-custom-settings = ./custom-settings.nix;
|
davmail-custom-settings = ./custom-settings.nix;
|
||||||
davmail-imitateOutlook = ./imitateOutlook.nix;
|
davmail-imitateOutlook = ./imitateOutlook.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ devilspie2-configuration = ./configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
devilspie2-configuration = ./configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ dropbox-basic-configuration = ./basic-configuration.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
dropbox-basic-configuration = ./basic-configuration.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
easyeffects-service = ./service.nix;
|
easyeffects-service = ./service.nix;
|
||||||
easyeffects-example-preset = ./example-preset.nix;
|
easyeffects-example-preset = ./example-preset.nix;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{ emacs-service-basic = ./basic.nix; }
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
|
||||||
|
emacs-service-basic = ./basic.nix;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
|
||||||
emacs-service-27 = ./emacs-service-27.nix;
|
emacs-service-27 = ./emacs-service-27.nix;
|
||||||
emacs-service-28 = ./emacs-service-28.nix;
|
emacs-service-28 = ./emacs-service-28.nix;
|
||||||
emacs-service-28-after-graphical-session-target = ./emacs-service-28-after-graphical-session-target.nix;
|
emacs-service-28-after-graphical-session-target = ./emacs-service-28-after-graphical-session-target.nix;
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue