refactor(gaming): remove slippi and nix-gaming flake
This commit is contained in:
parent
111ff878c2
commit
b81fe9488e
7 changed files with 18 additions and 24 deletions
|
|
@ -10,6 +10,6 @@
|
|||
#./utility -- still needs to be implemented
|
||||
./wayland # -- almost done, need to implement eww
|
||||
./productivity
|
||||
# ./gaming
|
||||
./gaming
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
{
|
||||
|
||||
imports = [
|
||||
./slippi
|
||||
./factorio
|
||||
];
|
||||
|
||||
options.homeModules.desktop.gaming = {
|
||||
slippi = {
|
||||
enable = lib.mkEnableOption "Enable Slippi home module";
|
||||
factorio = {
|
||||
enable = lib.mkEnableOption "Enable factorio home module";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
11
home/modules/desktop/gaming/factorio/default.nix
Normal file
11
home/modules/desktop/gaming/factorio/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg=config.homeModules.desktop.gaming.factorio;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ factorio ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{ inputs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.desktop.gaming.slippi;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
inputs.ssbm-nix.homeManagerModule
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
ssbm = {
|
||||
slippi-launcher.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -12,6 +12,7 @@ in
|
|||
./hyprland
|
||||
#./creative
|
||||
./productivity
|
||||
./gaming
|
||||
];
|
||||
|
||||
options = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
homeModules.desktop = {
|
||||
gaming = {
|
||||
slippi.enable = true;
|
||||
factorio.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
../../../profile
|
||||
];
|
||||
|
||||
activeProfiles = ["base" "hyprland" "productivity"];
|
||||
activeProfiles = ["base" "hyprland" "productivity" "gaming"];
|
||||
|
||||
home.sessionVariables.HN = "ooksdesk";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue