Compare commits
4 commits
7231441858
...
8962a4990a
Author | SHA1 | Date | |
---|---|---|---|
8962a4990a | |||
ee109829a7 | |||
a9fb22bf86 | |||
32a5792162 |
4 changed files with 34 additions and 13 deletions
|
@ -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
19
home/modules/lutris.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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
|
||||
'')
|
||||
|
|
Loading…
Reference in a new issue