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/bootstrap.nix
../../modules/common.nix ../../modules/common.nix
../../modules/x11.nix ../../modules/x11.nix
../../modules/discord.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/rg6mp8f9i9grfp47chg801vxzz4w564f-source/builds", "path": "/nix/store/lnr366wiqiliymnv4j8h8j01m7mvcb5w-source/builds",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/rg6mp8f9i9grfp47chg801vxzz4w564f-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;
};
}

View File

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

5
modules/tlp.nix Normal file
View File

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