Added NIXOS_OZONE_WL=1

This commit is contained in:
2024-09-08 11:13:34 +02:00
parent 71cc7f4b7d
commit 46a279aa2d
5 changed files with 10 additions and 8 deletions

View File

@@ -50,6 +50,7 @@
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; # Use Wayland when possible
GOPATH = "$HOME/.go";
};

12
flake.lock generated
View File

@@ -191,11 +191,11 @@
]
},
"locked": {
"lastModified": 1725180166,
"narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=",
"lastModified": 1725694918,
"narHash": "sha256-+HsjshXpqNiJHLaJaK0JnIicJ/a1NquKcfn4YZ3ILgg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb",
"rev": "aaebdea769a5c10f1c6e50ebdf5924c1a13f0cda",
"type": "github"
},
"original": {
@@ -227,11 +227,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1725432240,
"narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=",
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ad416d066ca1222956472ab7d0555a6946746a80",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {

View File

@@ -21,7 +21,7 @@
home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.r3ddy = import ./home/default.nix;
home-manager.users.r3ddy = import ./home;
}
stylix.nixosModules.stylix
];

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
imports = [
./tmux.nix

View File

@@ -1,5 +1,6 @@
{ config, ... }:
{
hardware.opengl.enable = true;
hardware.nvidia = {
modesetting.enable = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;