38 lines
879 B
Nix
38 lines
879 B
Nix
{
|
|
desktop,
|
|
args,
|
|
}: {pkgs, ...}: {
|
|
imports =
|
|
[
|
|
(import ./base.nix desktop)
|
|
../programs/ssh.nix
|
|
(import ../programs/git.nix desktop)
|
|
../programs/direnv.nix
|
|
]
|
|
++ (
|
|
if desktop
|
|
then [
|
|
../programs/sway.nix
|
|
../programs/firefox.nix
|
|
../programs/theming.nix
|
|
../programs/waybar.nix
|
|
../programs/ims.nix
|
|
../programs/syncthing.nix
|
|
../programs/mpd.nix
|
|
../programs/zoom.nix
|
|
../programs/plover.nix
|
|
(import ../games/default.nix args)
|
|
../programs/yubikey.nix
|
|
../programs/keybase.nix
|
|
../programs/keepass.nix
|
|
../programs/kicad.nix
|
|
../programs/vscode
|
|
../programs/misc.nix
|
|
../programs/kitty.nix
|
|
../programs/zk.nix
|
|
../programs/fcitx.nix
|
|
../programs/gpg.nix
|
|
]
|
|
else []
|
|
);
|
|
}
|