From 9f83c53fd151a9493f981249fc1b73775994f9e1 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 8 Jul 2024 03:30:06 +0200 Subject: [PATCH] Update flake --- flake.lock | 36 ++++++++++++++++++------------------ flake.nix | 2 +- home/nvim/default.nix | 2 +- system/default.nix | 14 ++++---------- 4 files changed, 24 insertions(+), 30 deletions(-) diff --git a/flake.lock b/flake.lock index 5115e09..c026f74 100644 --- a/flake.lock +++ b/flake.lock @@ -88,11 +88,11 @@ ] }, "locked": { - "lastModified": 1717483170, - "narHash": "sha256-Xr/oYk3vmyv2a/nY8o/Wd0MdLsI5vaC38Kris7CWunM=", + "lastModified": 1720327769, + "narHash": "sha256-kAsg3Lg4YKKpGw+f1W2s5hzjP8B0y/juowvjK8utIag=", "owner": "nix-community", "repo": "home-manager", - "rev": "2cacdd6a27477f1fa46b7026dd806de30f164d3b", + "rev": "6b7ce96f34b324e4e104abc30d06955d216bac71", "type": "github" }, "original": { @@ -108,11 +108,11 @@ ] }, "locked": { - "lastModified": 1717449440, - "narHash": "sha256-QtSCQFBhyQIsKJhOvcIOi+9EN1kEnNeoLo3PeQ5VbIY=", + "lastModified": 1720371934, + "narHash": "sha256-30Hl4Llh1wetlW3au2/bRR+/m5P9D7QvLGFWAYHKbKs=", "owner": "StevenBlack", "repo": "hosts", - "rev": "e1a7b23e9769607009d741066b5789a99aaf9923", + "rev": "67448bdb863d266fd6031f1330c8958d84eba1a2", "type": "github" }, "original": { @@ -123,11 +123,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1717515267, - "narHash": "sha256-3d/rDckP583688YqVPc6SyXTy2gHpma0HzCv3idi1OE=", + "lastModified": 1720372297, + "narHash": "sha256-bwy1rPQSQSCj/TNf1yswHW88nBQYvJQkeScGvOA8pd4=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "82b2e20fbffe6a5f0555701af136ad3e734a5faa", + "rev": "da0aa7b533d49e6319c603e07b46a5690082f65f", "type": "github" }, "original": { @@ -138,11 +138,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1717196966, - "narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=", + "lastModified": 1720031269, + "narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "57610d2f8f0937f39dbd72251e9614b1561942d8", + "rev": "9f4128e00b0ae8ec65918efeba59db998750ead6", "type": "github" }, "original": { @@ -154,11 +154,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1710695816, - "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=", + "lastModified": 1718811006, + "narHash": "sha256-0Y8IrGhRmBmT7HHXlxxepg2t8j1X90++qRN3lukGaIk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "614b4613980a522ba49f0d194531beddbb7220d3", + "rev": "03d771e513ce90147b65fe922d87d3a0356fc125", "type": "github" }, "original": { @@ -178,11 +178,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1716213921, - "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=", + "lastModified": 1719259945, + "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0", + "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 969b1ec..6094a5c 100644 --- a/flake.nix +++ b/flake.nix @@ -90,7 +90,7 @@ devShells.default = pkgs.mkShell { inherit (checks.pre-commit-check) shellHook; - packages = [ pkgs.qtile ]; + packages = [ pkgs.python312Packages.qtile ]; }; packages = { diff --git a/home/nvim/default.nix b/home/nvim/default.nix index 4cb068c..4a29d76 100644 --- a/home/nvim/default.nix +++ b/home/nvim/default.nix @@ -30,7 +30,7 @@ [ nil lua-language-server - nodePackages.pyright + pyright clang-tools llvmPackages_latest.clang nodejs diff --git a/system/default.nix b/system/default.nix index a6bf81e..76c20a1 100644 --- a/system/default.nix +++ b/system/default.nix @@ -73,12 +73,9 @@ hardware = { pulseaudio.enable = false; - opengl = { + graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; - extraPackages = with pkgs; [ amdvlk intel-media-driver # LIBVA_DRIVER_NAME=iHD @@ -193,15 +190,12 @@ let ouioui = (pkgs.callPackage ./qwerty-fr.nix { }); in - "${ouioui}/usr/share/X11/xkb/symbols/us_qwerty-fr"; + "${ouioui}/share/X11/xkb/symbols/us_qwerty-fr"; }; }; - videoDrivers = [ "nvidia" ]; - windowManager.qtile = { - enable = true; - backend = "x11"; - }; + videoDrivers = [ "nvidia" ]; + windowManager.qtile.enable = true; }; upower.enable = true;