Compare commits

..

No commits in common. "eb578f67bef5ea3b190194f9da67844e28dd0bda" and "108cda24bdab5b57bb73aff57ffb7b10667ad4c7" have entirely different histories.

5 changed files with 11 additions and 22 deletions

View file

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1723175592,
"narHash": "sha256-M0xJ3FbDUc4fRZ84dPGx5VvgFsOzds77KiBMW/mMTnI=",
"lastModified": 1721743106,
"narHash": "sha256-adRZhFpBTnHiK3XIELA3IBaApz70HwCYfv7xNrHjebA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5e0ca22929f3342b19569b21b2f3462f053e497b",
"rev": "dc14ed91132ee3a26255d01d8fd0c1f5bff27b2f",
"type": "github"
},
"original": {

View file

@ -34,7 +34,6 @@
nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
lib = {
base64 = import lib/base64.nix;
gen-ssh-config = import lib/gen-ssh-config.nix lib;
ssh-keys = import lib/ssh-keys.nix;

View file

@ -1,7 +1,14 @@
{ config, ... }:
{
# NVIDIA-only using MUX switch in BIOS.
environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple";
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.open = false;
services.xserver.videoDrivers = [ "nvidia" ];
# Nvidia driver 555 is significant for wayland support.
# Currently version 555 is beta.
hardware.nvidia.package = builtins.trace
"Using beta nvidia driver"
config.boot.kernelPackages.nvidiaPackages.beta;
}

View file

@ -1,15 +0,0 @@
{ runCommand }: {
b64decode = input:
builtins.readFile
(runCommand "b64decode" { } ''
base64 -d >$out <${builtins.toFile "input" input}
'');
b64encode = input:
builtins.readFile
(runCommand "b64encode" { } ''
base64 -w0 >$out <${builtins.toFile "input" input}
'');
}

View file

@ -21,9 +21,7 @@ in
environment.systemPackages = with pkgs; [
gnome3.gnome-tweaks
# https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/441
# gnomeExtensions.appindicator
gnomeExtensions.appindicator
(writeShellScriptBin "x-terminal-emulator" ''
exec kitty "$@"