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
|
#./utility -- still needs to be implemented
|
||||||
./wayland # -- almost done, need to implement eww
|
./wayland # -- almost done, need to implement eww
|
||||||
./productivity
|
./productivity
|
||||||
# ./gaming
|
./gaming
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./slippi
|
./factorio
|
||||||
];
|
];
|
||||||
|
|
||||||
options.homeModules.desktop.gaming = {
|
options.homeModules.desktop.gaming = {
|
||||||
slippi = {
|
factorio = {
|
||||||
enable = lib.mkEnableOption "Enable Slippi home module";
|
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
|
./hyprland
|
||||||
#./creative
|
#./creative
|
||||||
./productivity
|
./productivity
|
||||||
|
./gaming
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
homeModules.desktop = {
|
homeModules.desktop = {
|
||||||
gaming = {
|
gaming = {
|
||||||
slippi.enable = true;
|
factorio.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
../../../profile
|
../../../profile
|
||||||
];
|
];
|
||||||
|
|
||||||
activeProfiles = ["base" "hyprland" "productivity"];
|
activeProfiles = ["base" "hyprland" "productivity" "gaming"];
|
||||||
|
|
||||||
home.sessionVariables.HN = "ooksdesk";
|
home.sessionVariables.HN = "ooksdesk";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue