more changes

This commit is contained in:
randomuser 2024-01-08 20:32:59 -06:00
parent 5b01a13f3e
commit 894230ee8a
8 changed files with 24 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -91,12 +91,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-xCQE9SSKWjmoYOaIkzdlGULeGbEF9Gau5TPgYJxalmw=",
"path": "/nix/store/rg6mp8f9i9grfp47chg801vxzz4w564f-source/builds",
"narHash": "sha256-PYg0MoGsZWtACHUwF/teZJ96wUhDs3rHgTe2A0sMQ/A=",
"path": "/nix/store/lnr366wiqiliymnv4j8h8j01m7mvcb5w-source/builds",
"type": "path"
},
"original": {
"path": "/nix/store/rg6mp8f9i9grfp47chg801vxzz4w564f-source/builds",
"path": "/nix/store/lnr366wiqiliymnv4j8h8j01m7mvcb5w-source/builds",
"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;
};
}

View File

@ -1,10 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
environment.systemPackages = with pkgs; [
git
neovim

5
modules/tlp.nix Normal file
View File

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