move home-manager config to subdirectory

This commit is contained in:
Daniel Olsen
2024-08-17 03:17:40 +02:00
parent 08930ba021
commit a6f2ac0868
23 changed files with 1 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
{ config, lib, pkgs, ... }:
let
cfg = config.profiles.games;
gui = config.profiles.gui;
in {
options.profiles.games = {
enable = lib.mkEnableOption "Whether or not to install video game software";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
fortune
lolcat
neofetch
pipes
] ++ lib.optionals config.profiles.gui.enable [
steam
unstable.prismlauncher
# minetest
# dwarf-fortress-packages.dwarf-fortress-full
# superTuxKart
# warsow
# xonotic
# zeroad
# nur.repos.ivar.sm64ex
# dolphinEmuMaster
];
};
}