cerulean
This commit is contained in:
parent
ac95603fc4
commit
f7de9f7a23
42 changed files with 1061 additions and 445 deletions
|
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
nvidiaPackage = config.hardware.nvidia.package;
|
||||
in
|
||||
{
|
||||
networking.hostName = lib.mkForce "sandalphon";
|
||||
|
||||
# nvidia drivers
|
||||
hardware.graphics.enable = true;
|
||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
||||
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||
# of just the bare essentials.
|
||||
powerManagement.enable = false;
|
||||
|
||||
powerManagement.finegrained = false;
|
||||
# open = true;
|
||||
open = lib.mkOverride 990 (nvidiaPackage ? open && nvidiaPackage ? firmware);
|
||||
# Enable the Nvidia settings menu,
|
||||
# accessible via `nvidia-settings`.
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
{
|
||||
appId = "org.vinegarhq.Sober";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
];
|
||||
}
|
||||
35
hosts/sandalphon/default.nix
Normal file
35
hosts/sandalphon/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./games.nix
|
||||
];
|
||||
|
||||
networking.hostName = "sandalphon";
|
||||
|
||||
# nvidia drivers
|
||||
hardware.graphics.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
open = true;
|
||||
|
||||
nvidiaSettings = true;
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
};
|
||||
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
{
|
||||
appId = "org.vinegarhq.Sober";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [
|
||||
./mcsr
|
||||
];
|
||||
}
|
||||
|
|
@ -1,14 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./mcsr ];
|
||||
|
||||
{upkgs, ...}: {
|
||||
# hardware = {
|
||||
# xone.enable = true;
|
||||
# xpadneo.enable = true;
|
||||
# };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = with upkgs; [
|
||||
prismlauncher # minecraft
|
||||
r2modman
|
||||
# osu-lazer-bin
|
||||
|
|
@ -19,7 +15,7 @@
|
|||
programs = {
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
plugins = with upkgs.obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{ }
|
||||
import ./home.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue