+td +sidecar
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
# Workaround for tuxedo-drivers module bug in unstable (nixpkgs#480391)
|
||||
# The unstable module has a type error - use stable module until fix propagates
|
||||
disabledModules = [ "hardware/tuxedo-drivers.nix" ];
|
||||
imports =
|
||||
[ "${inputs.nixpkgs-stable}/nixos/modules/hardware/tuxedo-drivers.nix" ];
|
||||
# disabledModules = [ "hardware/tuxedo-drivers.nix" ];
|
||||
# imports =
|
||||
# [ "${inputs.nixpkgs-stable}/nixos/modules/hardware/tuxedo-drivers.nix" ];
|
||||
|
||||
hardware.nvidia = {
|
||||
prime = {
|
||||
@@ -38,12 +43,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ tuxedo-backlight ];
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "@wheel" ];
|
||||
commands = [{
|
||||
command = "/run/current-system/sw/bin/set-backlight";
|
||||
options = [ "NOPASSWD" ];
|
||||
}];
|
||||
}];
|
||||
environment.systemPackages = with pkgs; [tuxedo-backlight];
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = ["@wheel"];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/set-backlight";
|
||||
options = ["NOPASSWD"];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
file = ../../secrets/exa-key.age;
|
||||
owner = "m3tam3re";
|
||||
};
|
||||
outline-key = {
|
||||
file = ../../secrets/outline-key.age;
|
||||
owner = "m3tam3re";
|
||||
};
|
||||
basecamp-client-id = {
|
||||
file = ../../secrets/basecamp-client-id.age;
|
||||
owner = "m3tam3re";
|
||||
|
||||
Reference in New Issue
Block a user