Compare commits

..

4 commits

Author SHA1 Message Date
8962a4990a snowhawk: enable virtualization 2024-11-24 16:22:11 -08:00
ee109829a7 snowhawk: remove brave from path
all my brave-apps should work still
2024-11-24 16:17:44 -08:00
a9fb22bf86 firefox: move alt launch script to module 2024-11-24 16:17:44 -08:00
32a5792162 lutris: module init 2024-11-24 16:08:59 -08:00
4 changed files with 34 additions and 13 deletions

View file

@ -41,5 +41,11 @@ in
userChrome = config.programs.firefox.profiles.default.userChrome;
};
};
home.packages = with pkgs; [
(writeShellScriptBin "alt-firefox" ''
${lib.getExe config.programs.firefox.package} -P "alt"
'')
];
};
}

19
home/modules/lutris.nix Normal file
View file

@ -0,0 +1,19 @@
{ lib, config, pkgs, inputs, ... }:
let
cfg = config.snowhawk.lutris;
in
{
options.snowhawk.lutris = {
enable = lib.mkEnableOption "lutris";
};
config = lib.mkIf cfg.enable {
home.packages = [
(inputs.umu.packages.${pkgs.system}.umu.override
{ version = "${inputs.umu.shortRev}"; })
pkgs.lutris
];
};
}

View file

@ -83,6 +83,12 @@
hardware.keyboard.uhk.enable = true;
virtualisation = {
libvirtd.enable = true;
};
programs.virt-manager.enable = true;
# I think I need a gtk theme? gnome-keyring
qt.platformTheme = "gtk2";

View file

@ -1,4 +1,4 @@
{ pkgs, config, inputs, ... }:
{ pkgs, config, ... }:
{
imports = [
@ -18,6 +18,7 @@
pipewire-controller.enable = true;
# Games
lutris.enable = true;
xivlauncher.enable = true;
# Term Tools
@ -55,12 +56,7 @@
"~/obsidian"
];
home.packages = with pkgs; let
umu = inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; };
in
[
umu
lutris
home.packages = with pkgs; [
# (writeShellScriptBin "battlenet" ''
# export WINEARCH=win64
# export WINEPREFIX=$HOME/.wine-battlenet
@ -88,8 +84,6 @@
gparted
arandr
brave
spotify
vesktop
(writeShellScriptBin "discord" ''
@ -103,10 +97,6 @@
nixos-rebuild switch --log-format internal-json -v $@ |& nom --json
'')
(writeShellScriptBin "alt-firefox" ''
${lib.getExe pkgs.firefox} -P "alt"
'')
(writeShellScriptBin "suspend" ''
systemctl suspend
'')