Merge branch 'flake-parts'
This commit is contained in:
commit
b221fb4781
230 changed files with 609 additions and 878 deletions
|
|
@ -1,17 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./factorio
|
||||
./lutris
|
||||
./bottles
|
||||
];
|
||||
|
||||
options.homeModules.desktop.gaming = {
|
||||
factorio = {
|
||||
enable = lib.mkEnableOption "Enable factorio home module";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg=config.homeModules.desktop.gaming.factorio;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ factorio ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.homeModules.desktop.gaming.lutris;
|
||||
in
|
||||
|
||||
{
|
||||
options.homeModules.desktop.gaming.lutris.enable = mkEnableOption "Enable lutris home-manager module";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
(lutris.override {
|
||||
extraPkgs = p: [
|
||||
p.pixman
|
||||
p.libjpeg
|
||||
p.gnome.zenity
|
||||
p.gamescope
|
||||
];
|
||||
})
|
||||
winetricks
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue