mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add prereqs
This commit is contained in:
parent
286632be79
commit
acfeb0c036
2 changed files with 41 additions and 22 deletions
|
|
@ -16,8 +16,12 @@ in {
|
|||
# + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
];
|
||||
|
||||
environment.systemPackages = with inputs.nix-alien.packages.${system};
|
||||
[ nix-alien ];
|
||||
environment.systemPackages = with inputs.nix-alien.packages.${system}; [
|
||||
nix-alien
|
||||
pkgs.libratbag
|
||||
pkgs.piper
|
||||
pkgs.libpq
|
||||
];
|
||||
|
||||
# System
|
||||
mods.user.name = "muon";
|
||||
|
|
@ -25,6 +29,7 @@ in {
|
|||
networking.hostId = "a2309090";
|
||||
mods.home.file = ./home.nix;
|
||||
nix.settings.trusted-users = [ "root" "muon" ];
|
||||
users.users.muon.extraGroups = [ "docker" ];
|
||||
|
||||
# Modules
|
||||
mods.desktop.enable = true;
|
||||
|
|
@ -38,27 +43,30 @@ in {
|
|||
|
||||
mods.impermanence.enable = true;
|
||||
|
||||
services.hardware.openrgb.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Persist
|
||||
environment.persistence."/persist" = {
|
||||
directories = [ "/etc/NetworkManager" "/var/lib/NetworkManager" ];
|
||||
};
|
||||
|
||||
# Hardware preferences
|
||||
# environment.variables = {
|
||||
# WINIT_HIDPI_FACTOR = "1";
|
||||
# WINIT_X11_SCALE_FACTOR = "1";
|
||||
# };
|
||||
environment.variables = {
|
||||
WINIT_HIDPI_FACTOR = "1";
|
||||
WINIT_X11_SCALE_FACTOR = "1";
|
||||
};
|
||||
|
||||
## Laptop
|
||||
powerManagement.enable = true;
|
||||
services.thermald.enable = true;
|
||||
services.tlp.enable = true;
|
||||
services.xserver.dpi = lib.mkForce 180;
|
||||
environment.variables = {
|
||||
GDK_SCALE = "2";
|
||||
GDK_DPI_SCALE = "0.5";
|
||||
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
||||
};
|
||||
# services.xserver.dpi = lib.mkForce 180;
|
||||
# environment.variables = {
|
||||
# GDK_SCALE = "2";
|
||||
# GDK_DPI_SCALE = "0.5";
|
||||
# _JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
||||
# };
|
||||
|
||||
## Monitors
|
||||
mods.monitors = {
|
||||
|
|
@ -70,6 +78,7 @@ in {
|
|||
position = "1264x1440";
|
||||
primary = true;
|
||||
rate = "60.00";
|
||||
dpi = 192;
|
||||
};
|
||||
};
|
||||
left = {
|
||||
|
|
@ -79,6 +88,7 @@ in {
|
|||
mode = "2560x1440";
|
||||
position = "0x0";
|
||||
rate = "60.00";
|
||||
dpi = 96;
|
||||
};
|
||||
};
|
||||
right = {
|
||||
|
|
@ -88,6 +98,7 @@ in {
|
|||
mode = "2560x1440";
|
||||
position = "2560x0";
|
||||
rate = "60.00";
|
||||
dpi = 96;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue