feat: fix issues with the refactoring

This commit is contained in:
Xavier Morel
2025-07-23 18:04:01 +02:00
parent 85fdab6375
commit c2197f5e73
11 changed files with 47 additions and 86 deletions

View File

@@ -1,29 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.services.cli-environment;
in
{
imports = [ ];
options.services.cli-environment = {
enable = mkEnableOption "enable cli-environment";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
openssl
nixfmt-rfc-style
nil
ripgrep
fd
clang
];
programs.fish.enable = true;
};
}

View File

@@ -18,6 +18,15 @@
];
config = {
programs.dconf.enable = true;
programs.hyprland.enable = true;
services.xserver = {
displayManager = {
defaultSession = "hyprland";
};
};
xdg.portal.enable = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"

View File

@@ -0,0 +1,28 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.services.gaming;
in
{
imports = [ ];
options.services.gaming = {
enable = mkEnableOption "enable gaming";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bottles
steam
discord
openttd
];
programs.steam.enable = true;
programs.gamemode.enable = true;
};
}

View File

@@ -1,28 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.services.gaming;
in
{
imports = [ ];
options.services.gaming = {
enable = mkEnableOption "enable gaming";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bottles
steam
discord
openttd
];
programs.steam.enable = true;
programs.gamemode.enable = true;
};
}