forked from jan-leila/nix-config
drafted out home manager steam configuration
This commit is contained in:
parent
7473ad5415
commit
9c7cc3e3a7
7 changed files with 40 additions and 2 deletions
|
@ -15,5 +15,6 @@
|
|||
./calibre.nix
|
||||
./bruno.nix
|
||||
./dbeaver.nix
|
||||
./steam.nix
|
||||
];
|
||||
}
|
||||
|
|
17
modules/home-manager-modules/programs/steam.nix
Normal file
17
modules/home-manager-modules/programs/steam.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.programs.steam = {
|
||||
enable = lib.mkEnableOption "enable steam";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.programs.steam.enable {
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
steam.run
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue