refactor(tf2): Split off tf2.nix into separate repo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
# Launch options: -novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars -noquicktime -console -windowed -noborder
|
||||
|
||||
@@ -10,21 +10,25 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable
|
||||
(let
|
||||
tf2pkgs = pkgs.callPackage ../../tf2/packages.nix {};
|
||||
in {
|
||||
tf2 = {
|
||||
enable = true;
|
||||
packages = with tf2pkgs; [
|
||||
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
|
||||
my-config = pkgs.symlinkJoin {
|
||||
name = "tf2-files";
|
||||
paths = with tf2pkgs; [
|
||||
mastercomfig.presets.medium-low
|
||||
mastercomfig.addons.flat-mouse
|
||||
mastercomfig.addons.no-tutorial
|
||||
mastercomfig.addons.null-canceling-movement
|
||||
improved-crosshairs
|
||||
loadouts-script
|
||||
huds.deerhud
|
||||
(tf2pkgs.mkTf2PackageFromDir ./tf2/my-config)
|
||||
(tf2pkgs.mkTf2PackageFromDir ./tf2/quake-hitsounds)
|
||||
deerhud
|
||||
./tf2/my-config
|
||||
./tf2/quake-hitsounds
|
||||
];
|
||||
};
|
||||
});
|
||||
in {
|
||||
home.file."tf" = {
|
||||
recursive = true;
|
||||
source = my-config;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user