2017-11-24 20:58:16 +00:00
|
|
|
{ pkgs
|
2020-01-16 22:41:14 +00:00
|
|
|
|
2021-07-18 21:34:50 +00:00
|
|
|
# Note, this should be "the standard library" + HM extensions.
|
2017-11-24 20:58:16 +00:00
|
|
|
, lib
|
|
|
|
|
2021-07-18 21:34:50 +00:00
|
|
|
# Whether to enable module type checking.
|
2017-11-24 20:58:16 +00:00
|
|
|
, check ? true
|
2020-03-01 16:06:20 +00:00
|
|
|
|
2021-07-18 21:34:50 +00:00
|
|
|
# If disabled, the pkgs attribute passed to this function is used instead.
|
|
|
|
, useNixpkgsModule ? true }:
|
2017-11-24 20:58:16 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2021-07-07 21:24:27 +00:00
|
|
|
modules = [
|
|
|
|
./accounts/email.nix
|
2023-06-13 09:07:56 +00:00
|
|
|
./accounts/calendar.nix
|
|
|
|
./accounts/contacts.nix
|
2022-05-03 22:29:17 +00:00
|
|
|
./config/home-cursor.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./config/i18n.nix
|
|
|
|
./files.nix
|
|
|
|
./home-environment.nix
|
|
|
|
./i18n/input-method/default.nix
|
2021-11-21 16:13:30 +00:00
|
|
|
./launchd/default.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./manual.nix
|
|
|
|
./misc/dconf.nix
|
|
|
|
./misc/debug.nix
|
2022-09-06 13:50:36 +00:00
|
|
|
./misc/editorconfig.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./misc/fontconfig.nix
|
|
|
|
./misc/gtk.nix
|
|
|
|
./misc/lib.nix
|
|
|
|
./misc/news.nix
|
|
|
|
./misc/numlock.nix
|
|
|
|
./misc/pam.nix
|
|
|
|
./misc/qt.nix
|
2023-06-13 06:44:30 +00:00
|
|
|
./misc/specialisation.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./misc/submodule-support.nix
|
|
|
|
./misc/tmpfiles.nix
|
|
|
|
./misc/version.nix
|
|
|
|
./misc/vte.nix
|
|
|
|
./misc/xdg-desktop-entries.nix
|
|
|
|
./misc/xdg-mime-apps.nix
|
|
|
|
./misc/xdg-mime.nix
|
|
|
|
./misc/xdg-system-dirs.nix
|
|
|
|
./misc/xdg-user-dirs.nix
|
|
|
|
./misc/xdg.nix
|
2022-11-02 09:06:05 +00:00
|
|
|
./misc/xfconf.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/abook.nix
|
2022-08-11 21:08:28 +00:00
|
|
|
./programs/aerc.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/afew.nix
|
|
|
|
./programs/alacritty.nix
|
|
|
|
./programs/alot.nix
|
|
|
|
./programs/aria2.nix
|
|
|
|
./programs/astroid.nix
|
2021-10-05 21:05:22 +00:00
|
|
|
./programs/atuin.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/autojump.nix
|
|
|
|
./programs/autorandr.nix
|
|
|
|
./programs/bash.nix
|
2022-08-06 23:11:57 +00:00
|
|
|
./programs/bashmount.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/bat.nix
|
|
|
|
./programs/beets.nix
|
2022-09-25 17:27:04 +00:00
|
|
|
./programs/borgmatic.nix
|
2021-09-13 01:09:31 +00:00
|
|
|
./programs/bottom.nix
|
2023-06-09 20:32:11 +00:00
|
|
|
./programs/boxxy.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/broot.nix
|
|
|
|
./programs/browserpass.nix
|
2022-08-17 16:16:01 +00:00
|
|
|
./programs/btop.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/chromium.nix
|
|
|
|
./programs/command-not-found/command-not-found.nix
|
|
|
|
./programs/dircolors.nix
|
|
|
|
./programs/direnv.nix
|
2022-10-03 21:53:12 +00:00
|
|
|
./programs/discocss.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/eclipse.nix
|
|
|
|
./programs/emacs.nix
|
2022-02-02 15:46:23 +00:00
|
|
|
./programs/eww.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/exa.nix
|
|
|
|
./programs/feh.nix
|
|
|
|
./programs/firefox.nix
|
|
|
|
./programs/fish.nix
|
|
|
|
./programs/foot.nix
|
2023-03-01 14:57:55 +00:00
|
|
|
./programs/fuzzel.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/fzf.nix
|
2022-07-09 04:20:00 +00:00
|
|
|
./programs/gallery-dl.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/getmail.nix
|
|
|
|
./programs/gh.nix
|
2023-05-05 17:25:28 +00:00
|
|
|
./programs/git-cliff.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/git.nix
|
2021-11-10 18:52:30 +00:00
|
|
|
./programs/gitui.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/gnome-terminal.nix
|
|
|
|
./programs/go.nix
|
|
|
|
./programs/gpg.nix
|
2022-09-25 06:21:27 +00:00
|
|
|
./programs/havoc.nix
|
2022-01-03 23:09:24 +00:00
|
|
|
./programs/helix.nix
|
2021-02-09 11:59:11 +00:00
|
|
|
./programs/hexchat.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/himalaya.nix
|
|
|
|
./programs/home-manager.nix
|
2023-01-16 13:53:49 +00:00
|
|
|
./programs/hstr.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/htop.nix
|
2022-08-01 15:03:41 +00:00
|
|
|
./programs/hyfetch.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/i3status-rust.nix
|
|
|
|
./programs/i3status.nix
|
2023-06-07 12:51:05 +00:00
|
|
|
./programs/imv.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/info.nix
|
2022-01-27 18:15:45 +00:00
|
|
|
./programs/ion.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/irssi.nix
|
2021-08-02 09:14:10 +00:00
|
|
|
./programs/java.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/jq.nix
|
2023-01-27 21:15:17 +00:00
|
|
|
./programs/jujutsu.nix
|
2023-06-12 10:02:09 +00:00
|
|
|
./programs/joshuto.nix
|
2022-02-19 00:57:35 +00:00
|
|
|
./programs/just.nix
|
2022-10-23 19:22:14 +00:00
|
|
|
./programs/k9s.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/kakoune.nix
|
|
|
|
./programs/keychain.nix
|
2023-06-12 21:21:24 +00:00
|
|
|
./programs/khal.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/kitty.nix
|
2021-10-21 14:40:36 +00:00
|
|
|
./programs/kodi.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/lazygit.nix
|
2022-10-01 04:20:00 +00:00
|
|
|
./programs/ledger.nix
|
2021-11-11 10:32:48 +00:00
|
|
|
./programs/less.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/lesspipe.nix
|
|
|
|
./programs/lf.nix
|
2022-03-14 11:53:42 +00:00
|
|
|
./programs/librewolf.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/lieer.nix
|
2022-10-09 18:11:59 +00:00
|
|
|
./programs/looking-glass-client.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/lsd.nix
|
|
|
|
./programs/man.nix
|
|
|
|
./programs/mangohud.nix
|
|
|
|
./programs/matplotlib.nix
|
|
|
|
./programs/mbsync.nix
|
|
|
|
./programs/mcfly.nix
|
|
|
|
./programs/mercurial.nix
|
2022-05-29 16:53:49 +00:00
|
|
|
./programs/micro.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/mpv.nix
|
2023-03-10 23:10:05 +00:00
|
|
|
./programs/mr.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/msmtp.nix
|
|
|
|
./programs/mu.nix
|
2022-05-12 05:11:22 +00:00
|
|
|
./programs/mujmap.nix
|
2021-12-08 04:20:00 +00:00
|
|
|
./programs/navi.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/ncmpcpp.nix
|
|
|
|
./programs/ncspot.nix
|
|
|
|
./programs/ne.nix
|
|
|
|
./programs/neomutt.nix
|
|
|
|
./programs/neovim.nix
|
|
|
|
./programs/newsboat.nix
|
2022-08-17 11:58:46 +00:00
|
|
|
./programs/nheko.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/nix-index.nix
|
2021-10-05 23:14:52 +00:00
|
|
|
./programs/nnn.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/noti.nix
|
|
|
|
./programs/notmuch.nix
|
|
|
|
./programs/nushell.nix
|
|
|
|
./programs/obs-studio.nix
|
|
|
|
./programs/octant.nix
|
|
|
|
./programs/offlineimap.nix
|
2022-09-29 11:08:53 +00:00
|
|
|
./programs/oh-my-posh.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/opam.nix
|
2022-01-01 19:51:06 +00:00
|
|
|
./programs/pandoc.nix
|
2023-01-27 04:20:00 +00:00
|
|
|
./programs/papis.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/password-store.nix
|
|
|
|
./programs/pazi.nix
|
|
|
|
./programs/pet.nix
|
|
|
|
./programs/pidgin.nix
|
2022-03-28 15:19:38 +00:00
|
|
|
./programs/pistol.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/piston-cli.nix
|
2022-09-30 16:53:39 +00:00
|
|
|
./programs/pls.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/powerline-go.nix
|
2022-02-02 08:55:08 +00:00
|
|
|
./programs/pubs.nix
|
2022-04-11 01:54:04 +00:00
|
|
|
./programs/pylint.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/qutebrowser.nix
|
|
|
|
./programs/rbw.nix
|
|
|
|
./programs/readline.nix
|
2023-06-02 15:59:12 +00:00
|
|
|
./programs/ripgrep.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/rofi-pass.nix
|
|
|
|
./programs/rofi.nix
|
|
|
|
./programs/rtorrent.nix
|
2023-06-07 08:32:56 +00:00
|
|
|
./programs/rtx.nix
|
2021-12-30 11:47:44 +00:00
|
|
|
./programs/sagemath.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/sbt.nix
|
|
|
|
./programs/scmpuff.nix
|
2023-05-19 08:29:27 +00:00
|
|
|
./programs/script-directory.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/senpai.nix
|
2022-04-17 21:07:55 +00:00
|
|
|
./programs/sioyek.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/skim.nix
|
|
|
|
./programs/sm64ex.nix
|
2021-12-04 04:20:00 +00:00
|
|
|
./programs/sqls.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/ssh.nix
|
|
|
|
./programs/starship.nix
|
2022-06-07 19:01:14 +00:00
|
|
|
./programs/swaylock.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/taskwarrior.nix
|
2022-05-01 14:27:04 +00:00
|
|
|
./programs/tealdeer.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/terminator.nix
|
|
|
|
./programs/termite.nix
|
|
|
|
./programs/texlive.nix
|
2022-09-21 16:03:17 +00:00
|
|
|
./programs/thunderbird.nix
|
2022-01-02 23:50:56 +00:00
|
|
|
./programs/timidity.nix
|
2021-12-18 15:29:55 +00:00
|
|
|
./programs/tint2.nix
|
2022-02-26 22:42:01 +00:00
|
|
|
./programs/tiny.nix
|
2022-09-21 20:59:50 +00:00
|
|
|
./programs/tmate.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/tmux.nix
|
|
|
|
./programs/topgrade.nix
|
2023-05-11 09:21:18 +00:00
|
|
|
./programs/translate-shell.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/urxvt.nix
|
2023-06-12 21:21:24 +00:00
|
|
|
./programs/vdirsyncer.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/vim.nix
|
2023-02-05 10:12:28 +00:00
|
|
|
./programs/vim-vint.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/vscode.nix
|
|
|
|
./programs/vscode/haskell.nix
|
2022-06-15 21:44:52 +00:00
|
|
|
./programs/pywal.nix
|
2023-01-17 04:20:00 +00:00
|
|
|
./programs/rbenv.nix
|
2022-01-01 23:22:05 +00:00
|
|
|
./programs/watson.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/waybar.nix
|
2022-04-08 06:48:27 +00:00
|
|
|
./programs/wezterm.nix
|
2023-01-31 16:06:18 +00:00
|
|
|
./programs/wlogout.nix
|
2023-04-20 06:11:30 +00:00
|
|
|
./programs/wofi.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/xmobar.nix
|
2022-07-09 04:20:00 +00:00
|
|
|
./programs/yt-dlp.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/z-lua.nix
|
|
|
|
./programs/zathura.nix
|
2022-02-02 16:40:40 +00:00
|
|
|
./programs/zellij.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./programs/zoxide.nix
|
|
|
|
./programs/zplug.nix
|
|
|
|
./programs/zsh.nix
|
|
|
|
./programs/zsh/prezto.nix
|
2023-01-26 15:08:17 +00:00
|
|
|
./services/autorandr.nix
|
2023-01-18 11:24:06 +00:00
|
|
|
./services/avizo.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/barrier.nix
|
2023-03-19 23:06:39 +00:00
|
|
|
./services/batsignal.nix
|
2021-09-06 01:00:28 +00:00
|
|
|
./services/betterlockscreen.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/blueman-applet.nix
|
2022-09-25 17:27:04 +00:00
|
|
|
./services/borgmatic.nix
|
2022-10-27 17:08:14 +00:00
|
|
|
./services/cachix-agent.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/caffeine.nix
|
|
|
|
./services/cbatticon.nix
|
2022-08-27 18:52:41 +00:00
|
|
|
./services/clipman.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/clipmenu.nix
|
2023-02-27 11:10:00 +00:00
|
|
|
./services/copyq.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/devilspie2.nix
|
|
|
|
./services/dropbox.nix
|
|
|
|
./services/dunst.nix
|
|
|
|
./services/dwm-status.nix
|
2021-08-11 15:21:43 +00:00
|
|
|
./services/easyeffects.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/emacs.nix
|
|
|
|
./services/etesync-dav.nix
|
2021-10-24 22:27:41 +00:00
|
|
|
./services/espanso.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/flameshot.nix
|
|
|
|
./services/fluidsynth.nix
|
2021-08-10 04:21:03 +00:00
|
|
|
./services/fnott.nix
|
2022-02-16 16:09:46 +00:00
|
|
|
./services/fusuma.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/getmail.nix
|
2021-07-15 01:20:28 +00:00
|
|
|
./services/git-sync.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/gnome-keyring.nix
|
|
|
|
./services/gpg-agent.nix
|
|
|
|
./services/grobi.nix
|
2019-02-24 19:33:56 +00:00
|
|
|
./services/gromit-mpx.nix
|
2021-07-05 20:59:19 +00:00
|
|
|
./services/home-manager-auto-upgrade.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/hound.nix
|
|
|
|
./services/imapnotify.nix
|
|
|
|
./services/kanshi.nix
|
|
|
|
./services/kbfs.nix
|
|
|
|
./services/kdeconnect.nix
|
|
|
|
./services/keepassx.nix
|
|
|
|
./services/keybase.nix
|
|
|
|
./services/keynav.nix
|
|
|
|
./services/lieer.nix
|
2023-03-14 09:22:09 +00:00
|
|
|
./services/listenbrainz-mpd.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/lorri.nix
|
|
|
|
./services/mako.nix
|
|
|
|
./services/mbsync.nix
|
2022-12-06 16:21:08 +00:00
|
|
|
./services/megasync.nix
|
2022-01-21 13:22:52 +00:00
|
|
|
./services/mopidy.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/mpd.nix
|
|
|
|
./services/mpdris2.nix
|
2022-04-05 03:48:13 +00:00
|
|
|
./services/mpd-discord-rpc.nix
|
2022-12-27 17:15:51 +00:00
|
|
|
./services/mpd-mpris.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/mpris-proxy.nix
|
|
|
|
./services/muchsync.nix
|
|
|
|
./services/network-manager-applet.nix
|
|
|
|
./services/nextcloud-client.nix
|
2021-08-09 00:29:36 +00:00
|
|
|
./services/notify-osd.nix
|
2021-09-20 19:13:20 +00:00
|
|
|
./services/opensnitch-ui.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/owncloud-client.nix
|
|
|
|
./services/pantalaimon.nix
|
|
|
|
./services/parcellite.nix
|
|
|
|
./services/pass-secret-service.nix
|
|
|
|
./services/password-store-sync.nix
|
|
|
|
./services/pasystray.nix
|
|
|
|
./services/pbgopy.nix
|
|
|
|
./services/picom.nix
|
|
|
|
./services/plan9port.nix
|
|
|
|
./services/playerctld.nix
|
2022-02-02 21:34:19 +00:00
|
|
|
./services/plex-mpv-shim.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/polybar.nix
|
|
|
|
./services/poweralertd.nix
|
2022-08-13 02:37:04 +00:00
|
|
|
./services/pueue.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/pulseeffects.nix
|
|
|
|
./services/random-background.nix
|
2022-02-07 10:54:09 +00:00
|
|
|
./services/recoll.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/redshift-gammastep/gammastep.nix
|
|
|
|
./services/redshift-gammastep/redshift.nix
|
|
|
|
./services/rsibreak.nix
|
2022-09-25 19:47:53 +00:00
|
|
|
./services/safeeyes.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/screen-locker.nix
|
2022-05-19 01:46:53 +00:00
|
|
|
./services/sctd.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/spotifyd.nix
|
|
|
|
./services/stalonetray.nix
|
|
|
|
./services/status-notifier-watcher.nix
|
2022-01-03 19:03:20 +00:00
|
|
|
./services/swayidle.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/sxhkd.nix
|
|
|
|
./services/syncthing.nix
|
2021-11-13 21:00:47 +00:00
|
|
|
./services/systembus-notify.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/taffybar.nix
|
|
|
|
./services/tahoe-lafs.nix
|
|
|
|
./services/taskwarrior-sync.nix
|
2021-09-14 21:14:41 +00:00
|
|
|
./services/trayer.nix
|
2021-10-24 13:50:13 +00:00
|
|
|
./services/twmn.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/udiskie.nix
|
|
|
|
./services/unclutter.nix
|
|
|
|
./services/unison.nix
|
2023-06-13 14:31:49 +00:00
|
|
|
./services/vdirsyncer.nix
|
2021-07-21 04:17:27 +00:00
|
|
|
./services/volnoti.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/window-managers/awesome.nix
|
|
|
|
./services/window-managers/bspwm/default.nix
|
2022-08-29 00:43:14 +00:00
|
|
|
./services/window-managers/fluxbox.nix
|
2021-11-09 22:17:36 +00:00
|
|
|
./services/window-managers/herbstluftwm.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/window-managers/i3-sway/i3.nix
|
|
|
|
./services/window-managers/i3-sway/sway.nix
|
2021-11-21 04:06:12 +00:00
|
|
|
./services/window-managers/i3-sway/swaynag.nix
|
2022-07-08 17:31:25 +00:00
|
|
|
./services/window-managers/spectrwm.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
./services/window-managers/xmonad.nix
|
|
|
|
./services/wlsunset.nix
|
|
|
|
./services/xcape.nix
|
|
|
|
./services/xembed-sni-proxy.nix
|
|
|
|
./services/xidlehook.nix
|
|
|
|
./services/xscreensaver.nix
|
|
|
|
./services/xsettingsd.nix
|
|
|
|
./services/xsuspender.nix
|
|
|
|
./systemd.nix
|
|
|
|
./targets/darwin
|
|
|
|
./targets/generic-linux.nix
|
|
|
|
./xresources.nix
|
|
|
|
./xsession.nix
|
2022-01-27 17:58:25 +00:00
|
|
|
./misc/nix.nix
|
2021-07-07 21:24:27 +00:00
|
|
|
(pkgs.path + "/nixos/modules/misc/assertions.nix")
|
|
|
|
(pkgs.path + "/nixos/modules/misc/meta.nix")
|
2021-10-13 16:42:12 +00:00
|
|
|
] ++ optional useNixpkgsModule ./misc/nixpkgs.nix
|
|
|
|
++ optional (!useNixpkgsModule) ./misc/nixpkgs-disabled.nix;
|
2017-11-24 20:58:16 +00:00
|
|
|
|
2020-07-30 22:33:12 +00:00
|
|
|
pkgsModule = { config, ... }: {
|
2020-03-01 16:06:20 +00:00
|
|
|
config = {
|
|
|
|
_module.args.baseModules = modules;
|
2021-07-18 21:34:50 +00:00
|
|
|
_module.args.pkgsPath = lib.mkDefault
|
|
|
|
(if versionAtLeast config.home.stateVersion "20.09" then
|
2020-07-30 22:33:12 +00:00
|
|
|
pkgs.path
|
|
|
|
else
|
|
|
|
<nixpkgs>);
|
2020-03-01 16:06:20 +00:00
|
|
|
_module.args.pkgs = lib.mkDefault pkgs;
|
|
|
|
_module.check = check;
|
|
|
|
lib = lib.hm;
|
|
|
|
} // optionalAttrs useNixpkgsModule {
|
2021-10-29 15:50:50 +00:00
|
|
|
nixpkgs.system = mkDefault pkgs.stdenv.hostPlatform.system;
|
2020-03-01 16:06:20 +00:00
|
|
|
};
|
2017-11-24 20:58:16 +00:00
|
|
|
};
|
|
|
|
|
2021-07-18 21:34:50 +00:00
|
|
|
in modules ++ [ pkgsModule ]
|