This commit is contained in:
randomuser 2024-01-08 20:44:38 -06:00
commit 66f4e6a7b0
7 changed files with 24 additions and 7 deletions

View File

@ -6,6 +6,7 @@
../../modules/bootstrap.nix ../../modules/bootstrap.nix
../../modules/common.nix ../../modules/common.nix
../../modules/x11.nix ../../modules/x11.nix
../../modules/tlp.nix
]; ];
boot.loader.grub.enable = true; boot.loader.grub.enable = true;

View File

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../../home/x11.nix ../../home/x11.nix
../../home/chromium
]; ];
home.stateVersion = "23.11"; home.stateVersion = "23.11";

View File

@ -10,9 +10,6 @@
lib.fold lib.recursiveUpdate { } ( lib.fold lib.recursiveUpdate { } (
map f [ map f [
"x86_64-linux" "x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
] ]
); );
mkPackages = pkgs: { mkPackages = pkgs: {

View File

@ -4,6 +4,7 @@
, bash , bash
, feh , feh
, jq , jq
, fzy
, figlet , figlet
, curl , curl
, xrandr , xrandr
@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
src = ./utils; src = ./utils;
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash feh xrandr jq curl ]; buildInputs = [ bash feh xrandr jq curl fzy ];
buildPhase = ""; buildPhase = "";

View File

@ -91,12 +91,12 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-xCQE9SSKWjmoYOaIkzdlGULeGbEF9Gau5TPgYJxalmw=", "narHash": "sha256-PYg0MoGsZWtACHUwF/teZJ96wUhDs3rHgTe2A0sMQ/A=",
"path": "/nix/store/p4zd0ifx5r5qfr03q5bbg0wilya43x5s-source/builds", "path": "/nix/store/lnr366wiqiliymnv4j8h8j01m7mvcb5w-source/builds",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/p4zd0ifx5r5qfr03q5bbg0wilya43x5s-source/builds", "path": "/nix/store/lnr366wiqiliymnv4j8h8j01m7mvcb5w-source/builds",
"type": "path" "type": "path"
} }
} }

12
home/chromium/default.nix Normal file
View File

@ -0,0 +1,12 @@
{ lib, inputs, config, pkgs, home, ... }:
{
home.packages = with pkgs; [
ungoogled-chromium
];
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
};
}

5
modules/tlp.nix Normal file
View File

@ -0,0 +1,5 @@
{ lib, config, pkgs, inputs, ...}:
{
services.tlp.enable = true;
}