Misc: Enable nix flakes
This commit is contained in:
@@ -34,7 +34,7 @@ in mkHost config {
|
||||
gajim-mainwindow
|
||||
virt-manager unstable.qemu scream
|
||||
#gamemode # Custom package
|
||||
key-mapper # Custom package
|
||||
#key-mapper # Custom package
|
||||
replaysorcery # Custom package
|
||||
#evdev-proxy # Custom package
|
||||
vfio-isolate # Custom Package
|
||||
@@ -104,7 +104,7 @@ in mkHost config {
|
||||
WriteResolvConf=false
|
||||
'';
|
||||
udev = {
|
||||
packages = with pkgs; [ key-mapper ];
|
||||
#packages = with pkgs; [ key-mapper ];
|
||||
extraRules = ''
|
||||
KERNEL=="uinput", GROUP="input", MODE="0660"
|
||||
'';
|
||||
@@ -125,7 +125,7 @@ in mkHost config {
|
||||
|
||||
nix.package = pkgs.nixUnstable;
|
||||
nix.extraOptions = ''
|
||||
experimental-options = nix-command flakes ca-references
|
||||
experimental-features = nix-command flakes ca-references
|
||||
'';
|
||||
|
||||
# TODO: Move into modules
|
||||
@@ -148,17 +148,17 @@ in mkHost config {
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
key-mapper = {
|
||||
description = "A tool to change the mapping of your input device buttons";
|
||||
wantedBy = [ "default.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.key-mapper}/bin/key-mapper-service";
|
||||
Restart = "always";
|
||||
# NOTE: The Tartarus may not be connected, so don't fail if we cannot set the preset
|
||||
ExecPostStart = "${pkgs.key-mapper}/bin/key-mapper --command start --preset NOOP --device \"Razer Razer Tartarus V2\"; exit 0";
|
||||
};
|
||||
};
|
||||
#key-mapper = {
|
||||
# description = "A tool to change the mapping of your input device buttons";
|
||||
# wantedBy = [ "default.target" ];
|
||||
# serviceConfig = {
|
||||
# Type = "simple";
|
||||
# ExecStart = "${pkgs.key-mapper}/bin/key-mapper-service";
|
||||
# Restart = "always";
|
||||
# # NOTE: The Tartarus may not be connected, so don't fail if we cannot set the preset
|
||||
# ExecPostStart = "${pkgs.key-mapper}/bin/key-mapper --command start --preset NOOP --device \"Razer Razer Tartarus V2\"; exit 0";
|
||||
# };
|
||||
#};
|
||||
replaysorcery = {
|
||||
description = "An open-source, instant-replay solution for Linux";
|
||||
#wantedBy = [ "default.target" ];
|
||||
|
||||
Reference in New Issue
Block a user