add portable ssd, fix laptop eval

This commit is contained in:
Kopatz
2024-12-09 14:01:24 +01:00
parent c04be0ef1e
commit deda06423e
12 changed files with 115 additions and 33 deletions

View File

@@ -33,7 +33,6 @@
#android.enable = true;
};
#emulators.enable = true;
gamemode.enable = true;
gnome.enable = true;
hyprland.enable = true;
#games.enable = true;

View File

@@ -10,7 +10,6 @@
./awesome.nix
./emulators.nix
./i3.nix
./gamemode.nix
./games.nix
./gnome.nix
./gnome-settings.nix

View File

@@ -1,20 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.custom.graphical.gamemode;
in
{
options.custom.graphical.gamemode = {
enable = mkEnableOption "Enables gamemode";
};
config = mkIf cfg.enable {
programs.gamemode = {
enable = true;
settings.custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
}

View File

@@ -17,6 +17,13 @@ in {
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
programs.gamemode = {
enable = true;
settings.custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
environment.systemPackages = [ pkgs.mangohud ]
++ optionals cfg.enablePreinstalled (with pkgs; [
#taisei

View File

@@ -24,9 +24,8 @@ in {
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
cheese
gedit # text editor
]) ++ (with pkgs.gnome; [
cheese # webcam tool
gnome-music
gnome-terminal
epiphany # web browser
@@ -43,11 +42,11 @@ in {
environment.systemPackages = with pkgs; [
wmctrl
rofi-wayland
gnome.mutter
mutter
adwaita-icon-theme
gnome.gnome-settings-daemon
gnome.gnome-tweaks
gnome.dconf-editor
gnome-settings-daemon
gnome-tweaks
dconf-editor
#gruvbox-gtk-theme
colloid-icon-theme
gnomeExtensions.appindicator

View File

@@ -0,0 +1,12 @@
{ lib, config, pkgs, inputs, pkgsVersion, ... }:
let cfg = config.custom.hardware.amd-gpu;
in {
options.custom.hardware.amd-gpu = {
enable = lib.mkEnableOption "Enables amd gpus";
};
config = lib.mkIf cfg.enable {
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
};
}

View File

@@ -1,5 +1,6 @@
{ pkgs, config, ... }: {
imports = [
./amd-gpu.nix
./android.nix
./firmware.nix
./nvidia.nix