From 60e659df5c3b45a549df5928e090dfcbf4e87c49 Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Sun, 8 Dec 2024 12:14:40 +0100 Subject: [PATCH] update config for 24.11 --- flake.lock | 16 ++++++++-------- home-manager/applications.nix | 2 +- home-manager/neovim.nix | 2 +- nixos/computational/configuration.nix | 5 ++--- nixos/lambda/configuration.nix | 5 ++--- nixos/shared/graphical.nix | 1 - nixos/transient/configuration.nix | 5 ++--- 7 files changed, 16 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index dc5fb32..58abe21 100644 --- a/flake.lock +++ b/flake.lock @@ -136,32 +136,32 @@ ] }, "locked": { - "lastModified": 1718530513, - "narHash": "sha256-BmO8d0r+BVlwWtMLQEYnwmngqdXIuyFzMwvmTcLMee8=", + "lastModified": 1733572789, + "narHash": "sha256-zjO6m5BqxXIyjrnUziAzk4+T4VleqjstNudSqWcpsHI=", "owner": "nix-community", "repo": "home-manager", - "rev": "a1fddf0967c33754271761d91a3d921772b30d0e", + "rev": "c7ffc9727d115e433fd884a62dc164b587ff651d", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-24.05", + "ref": "release-24.11", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1728909085, - "narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=", + "lastModified": 1733412085, + "narHash": "sha256-FillH0qdWDt/nlO6ED7h4cmN+G9uXwGjwmCnHs0QVYM=", "owner": "NixOs", "repo": "nixpkgs", - "rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8", + "rev": "4dc2fc4e62dbf62b84132fe526356fbac7b03541", "type": "github" }, "original": { "owner": "NixOs", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } diff --git a/home-manager/applications.nix b/home-manager/applications.nix index c13afbf..351258c 100644 --- a/home-manager/applications.nix +++ b/home-manager/applications.nix @@ -36,7 +36,7 @@ thunderbird tidal-hifi signal-desktop - transmission-gtk + transmission_4-gtk xclip clinfo glxinfo diff --git a/home-manager/neovim.nix b/home-manager/neovim.nix index 524feb0..04e849f 100644 --- a/home-manager/neovim.nix +++ b/home-manager/neovim.nix @@ -15,7 +15,7 @@ lspcfg.rust_analyzer.setup({}) lspcfg.hls.setup({}) lspcfg.pyright.setup({ - cmd = { '${pkgs.nodePackages.pyright}/bin/pyright-langserver', '--stdio' }, + cmd = { '${pkgs.pyright}/bin/pyright-langserver', '--stdio' }, }) lspcfg.nixd.setup({ cmd = { '${pkgs.nixd}/bin/nixd' }, diff --git a/nixos/computational/configuration.nix b/nixos/computational/configuration.nix index 8188b24..acfbcca 100644 --- a/nixos/computational/configuration.nix +++ b/nixos/computational/configuration.nix @@ -6,10 +6,9 @@ ./hardware-configuration.nix ]; - hardware.opengl = { + hardware.grapchics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; extraPackages = [ pkgs.rocmPackages.clr.icd ]; diff --git a/nixos/lambda/configuration.nix b/nixos/lambda/configuration.nix index 1e12790..83fe023 100644 --- a/nixos/lambda/configuration.nix +++ b/nixos/lambda/configuration.nix @@ -6,10 +6,9 @@ ./hardware-configuration.nix ]; - hardware.opengl = { + hardware.graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; extraPackages = with pkgs; [ intel-ocl intel-compute-runtime diff --git a/nixos/shared/graphical.nix b/nixos/shared/graphical.nix index 061dd15..3c0f6c1 100644 --- a/nixos/shared/graphical.nix +++ b/nixos/shared/graphical.nix @@ -17,7 +17,6 @@ system: config: { pkgs, ... }: programs.slock.enable = config.i3-plasma; # [SOUND] - sound.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; diff --git a/nixos/transient/configuration.nix b/nixos/transient/configuration.nix index 96a7eb4..141d6ec 100644 --- a/nixos/transient/configuration.nix +++ b/nixos/transient/configuration.nix @@ -11,10 +11,9 @@ ]; # HW - hardware.opengl = { + hardware.graphics = { enable = true; - driSupport = true; - driSupport32Bit = true; + enable32Bit = true; extraPackages = with pkgs; [ intel-ocl intel-compute-runtime