mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-06-08 13:09:29 +00:00
~
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
2566b6da29
commit
9e7e438323
1 changed files with 79 additions and 21 deletions
|
@ -6,6 +6,64 @@
|
||||||
../base.nix
|
../base.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
r5e.system = {
|
||||||
|
graphics = {
|
||||||
|
display.x11 = {
|
||||||
|
enable = true;
|
||||||
|
windowManagers = [ "twm" "openbox" ];
|
||||||
|
displayManager.autologin = {
|
||||||
|
enable = true;
|
||||||
|
session = "none+openbox";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
hardwareAcceleration = {
|
||||||
|
enable = true;
|
||||||
|
intel = {
|
||||||
|
# TODO: change these when you get to your desktop pc
|
||||||
|
videoPlayback = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.intel-vaapi-driver;
|
||||||
|
};
|
||||||
|
qsv = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.intel-media-sdk;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
nvidia = {
|
||||||
|
enable = true;
|
||||||
|
# TODO: this also needs to be changed back to default on your desktop
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# TODO: when you get home
|
||||||
|
# + try to make a configuration for your desktop host specifically maybe
|
||||||
|
# r5e.system = {
|
||||||
|
# graphics = {
|
||||||
|
# display.x11 = {
|
||||||
|
# enable = true;
|
||||||
|
# windowManagers = {
|
||||||
|
# twm.enable = true;
|
||||||
|
# openbox.enable = true;
|
||||||
|
# };
|
||||||
|
# displayManager.autologin = {
|
||||||
|
# enable = true;
|
||||||
|
# session = "none+openbox";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# hardwareAcceleration = {
|
||||||
|
# enable = true;
|
||||||
|
# intel = {
|
||||||
|
# videoPlayback.enable = true;
|
||||||
|
# qsv.enable = true;
|
||||||
|
# };
|
||||||
|
# nvidia.enable = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
|
@ -117,29 +175,29 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Xorg
|
# Xorg
|
||||||
xserver = {
|
# xserver = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
xkb.layout = "us";
|
# xkb.layout = "us";
|
||||||
#?TODO maybe put all nvidia settings into its own module (i.e. r5e.hardware.nvidia.enable) + x11 with xdg config
|
#?TODO maybe put all nvidia settings into its own module (i.e. r5e.hardware.nvidia.enable) + x11 with xdg config
|
||||||
# videoDrivers = [ "nvidia" ];
|
# videoDrivers = [ "nvidia" ];
|
||||||
windowManager = {
|
# windowManager = {
|
||||||
cwm.enable = true;
|
# cwm.enable = true;
|
||||||
openbox.enable = true;
|
# openbox.enable = true;
|
||||||
twm.enable = true;
|
# twm.enable = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
displayManager = {
|
# displayManager = {
|
||||||
sddm = {
|
# sddm = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
Autologin = {
|
# Autologin = {
|
||||||
User = "rae";
|
# User = "rae";
|
||||||
Session = "none+openbox";
|
# Session = "none+openbox";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
theme = "catppuccin-mocha";
|
# theme = "catppuccin-mocha";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Touchpad support
|
# Touchpad support
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue