This commit is contained in:
joygnu 2024-09-21 09:44:32 +02:00
parent 4261e1ada2
commit 6b7ea814a9
8 changed files with 29 additions and 23 deletions

View file

@ -1,12 +1,10 @@
{...}: {
networking.hostName = "desktop";
services.hardware.openrgb.enable = true;
services.ollama.enable = true;
games.enable = true;
imports = [
../../modules
./hardware.nix
../../modules/apps/gui/games
];
}

View file

@ -8,10 +8,15 @@
defaultEditor = true;
settings = {
theme = lib.mkForce "gruvbox";
editor = {
line-number = "relative";
shell = ["zsh" "-c"];
};
keys.normal = {
space.space = "file_picker";
Z.Z = ":wq";
Z.Q = ":q!";
space.space = "file_picker";
esc = [ "collapse_selection" "keep_primary_selection" ];
};
};
};

View file

@ -2,7 +2,6 @@
imports = [
./mpv
./code
./games
./nemo
./rofi
./firefox

View file

@ -3,5 +3,7 @@
./suyu
./steam
./norisk
./mangohud
./mics
];
}

View file

@ -0,0 +1,3 @@
{...}: {
home-manager.users.joy.programs.mangohud.enable = true;
}

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
prismlauncher
zulu17
dolphin-emu
lutris-free
];
}

View file

@ -1,4 +1,8 @@
{lib, pkgs, ...}: let
{
lib,
pkgs,
...
}: let
customPkgs =
pkgs
// {

View file

@ -1,13 +1,7 @@
{
pkgs,
lib,
config,
...
}: {
options = {
games.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.games.enable {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam-original"
@ -15,12 +9,5 @@
"steam-run"
];
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
prismlauncher
dolphin-emu
zulu17
mangohud
lutris
];
};
services.joycond.enable = true;
}