35 lines
774 B
Nix
35 lines
774 B
Nix
{
|
|
desktop,
|
|
args,
|
|
}: {pkgs, ...}: {
|
|
imports =
|
|
[
|
|
(import ./base.nix desktop)
|
|
../programs/gpg.nix
|
|
../programs/git.nix
|
|
../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/zk.nix
|
|
]
|
|
else []
|
|
);
|
|
}
|