diff --git a/flake.lock b/flake.lock index e775ef1..04b09cd 100644 --- a/flake.lock +++ b/flake.lock @@ -1,59 +1,5 @@ { "nodes": { - "alacritty-theme": { - "inputs": { - "alacritty-theme": "alacritty-theme_2", - "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs" - }, - "locked": { - "lastModified": 1733731622, - "narHash": "sha256-SSdVAmG5W+x97EgSMwfO9yIqkNkMZmfdVUI/zll6OYU=", - "owner": "alexghr", - "repo": "alacritty-theme.nix", - "rev": "0e69ef549d4672c9066264d448ea5ea8b214a4f9", - "type": "github" - }, - "original": { - "owner": "alexghr", - "repo": "alacritty-theme.nix", - "type": "github" - } - }, - "alacritty-theme_2": { - "flake": false, - "locked": { - "lastModified": 1733116860, - "narHash": "sha256-D37MQtNS20ESny5UhW1u6ELo9czP4l+q0S8neH7Wdbc=", - "owner": "alacritty", - "repo": "alacritty-theme", - "rev": "95a7d695605863ede5b7430eb80d9e80f5f504bc", - "type": "github" - }, - "original": { - "owner": "alacritty", - "repo": "alacritty-theme", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib" - }, - "locked": { - "lastModified": 1683560683, - "narHash": "sha256-XAygPMN5Xnk/W2c1aW0jyEa6lfMDZWlQgiNtmHXytPc=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "006c75898cf814ef9497252b022e91c946ba8e17", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, "flake-utils": { "inputs": { "systems": "systems" @@ -145,34 +91,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1703961334, - "narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=", - "owner": "NixOS", + "lastModified": 1735141468, + "narHash": "sha256-VIAjBr1qGcEbmhLwQJD6TABppPMggzOvqFsqkDoMsAY=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9", + "rev": "4005c3ff7505313cbc21081776ad0ce5dfd7a3ce", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-lib": { - "locked": { - "dir": "lib", - "lastModified": 1682879489, - "narHash": "sha256-sASwo8gBt7JDnOOstnps90K1wxmVfyhsTPPNTGBPjjg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "da45bf6ec7bbcc5d1e14d3795c025199f28e0de0", - "type": "github" - }, - "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", + "owner": "nixos", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } @@ -193,28 +121,11 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1735141468, - "narHash": "sha256-VIAjBr1qGcEbmhLwQJD6TABppPMggzOvqFsqkDoMsAY=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "4005c3ff7505313cbc21081776ad0ce5dfd7a3ce", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-24.11", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { - "alacritty-theme": "alacritty-theme", "home-manager": "home-manager", "lix-module": "lix-module", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable" } }, diff --git a/flake.nix b/flake.nix index 4437479..7972e08 100644 --- a/flake.nix +++ b/flake.nix @@ -4,10 +4,7 @@ inputs = { # Nixpkgs nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; - # You can access packages and modules from different nixpkgs revs - # at the same time. Here's an working example: nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; - # Also see the 'unstable-packages' overlay at 'overlays/default.nix'. # Lix lix-module = { @@ -18,15 +15,11 @@ # Home manager home-manager.url = "github:nix-community/home-manager/release-24.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; - - # Alacritty Theme - alacritty-theme.url = "github:alexghr/alacritty-theme.nix"; }; outputs = { self, nixpkgs, - alacritty-theme, lix-module, home-manager, ... diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3a92e3f..9d606ae 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -89,6 +89,13 @@ boot.loader.efi.canTouchEfiVariables = true; boot.loader.timeout = 0; + # Undervolt + services.undervolt = { + enable = true; + coreOffset = -120; + gpuOffset = -85; + }; + #Networking networking.hostName = "xenia"; networking.networkmanager.enable = true; diff --git a/nixos/pkgs.nix b/nixos/pkgs.nix index 111149e..a08059a 100644 --- a/nixos/pkgs.nix +++ b/nixos/pkgs.nix @@ -1,6 +1,6 @@ { pkgs, ... } : { environment.systemPackages = with pkgs; [ - home-manager zsh refind python314 unzip zip git gnumake apostrophe gnome-tweaks gnomeExtensions.user-themes dissent tuba - audacity neovim + home-manager zsh undervolt btop refind python314 unzip zip git inetutils gnumake apostrophe gnome-tweaks gnomeExtensions.user-themes tuba + audacity neovim android-tools image-roll foliate nix-search-cli vesktop ]; }