mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
update system
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -101,7 +101,21 @@
|
|||||||
{
|
{
|
||||||
inherit username hostname gpu-offload;
|
inherit username hostname gpu-offload;
|
||||||
};
|
};
|
||||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nix = {
|
||||||
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
randomizedDelaySec = "14m";
|
||||||
|
options = "--deleteOlderThan 10d";
|
||||||
|
};
|
||||||
|
};
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@@ -117,6 +131,11 @@
|
|||||||
./modules/home-manager/modules/nixvim
|
./modules/home-manager/modules/nixvim
|
||||||
];
|
];
|
||||||
users.${username} = {
|
users.${username} = {
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
randomizedDelaySec = "14m";
|
||||||
|
options = "--deleteOlderThan 10d";
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./modules/home-manager
|
./modules/home-manager
|
||||||
./hosts/${hostname}/home.nix
|
./hosts/${hostname}/home.nix
|
||||||
|
|||||||
@@ -2,18 +2,6 @@
|
|||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
nix = {
|
|
||||||
settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
randomizedDelaySec = "14m";
|
|
||||||
options = "--deleteOlderThan 10d";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
quiet.enable = true;
|
quiet.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -7,18 +7,6 @@
|
|||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
nix = {
|
|
||||||
settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
randomizedDelaySec = "14m";
|
|
||||||
options = "--deleteOlderThan 10d";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
quiet.enable = true;
|
quiet.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -7,18 +7,6 @@
|
|||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
nix = {
|
|
||||||
settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
gc = {
|
|
||||||
automatic = true;
|
|
||||||
randomizedDelaySec = "14m";
|
|
||||||
options = "--deleteOlderThan 10d";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
quiet.enable = true;
|
quiet.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ in
|
|||||||
enable = mkEnableOption "Enable optimisations for the Gigabyte FV43U monitor";
|
enable = mkEnableOption "Enable optimisations for the Gigabyte FV43U monitor";
|
||||||
hdr = mkOption {
|
hdr = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = "Enable HDR support for the Gigabyte FV43U monitor.";
|
description = "Enable HDR support for the Gigabyte FV43U monitor.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -64,7 +64,7 @@ in
|
|||||||
slave_count_for_center_master = 0;
|
slave_count_for_center_master = 0;
|
||||||
mfact = 0.4;
|
mfact = 0.4;
|
||||||
};
|
};
|
||||||
render.direct_scanout = 1;
|
render.direct_scanout = 0;
|
||||||
/*
|
/*
|
||||||
monitor = [
|
monitor = [
|
||||||
"${monitorline},sdrbrightness,1.3"
|
"${monitorline},sdrbrightness,1.3"
|
||||||
@@ -78,7 +78,7 @@ in
|
|||||||
scale = 1;
|
scale = 1;
|
||||||
bitdepth = 10;
|
bitdepth = 10;
|
||||||
addreserved = "340,0,0,0";
|
addreserved = "340,0,0,0";
|
||||||
cm = "hdr";
|
cm = if cfg.hdr then "hdr" else "srgb";
|
||||||
sdr_min_luminance = 0.25;
|
sdr_min_luminance = 0.25;
|
||||||
sdr_max_luminance = 400;
|
sdr_max_luminance = 400;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -38,7 +38,9 @@ in
|
|||||||
];
|
];
|
||||||
})
|
})
|
||||||
rpcs3
|
rpcs3
|
||||||
|
bottles
|
||||||
wineWowPackages.stagingFull
|
wineWowPackages.stagingFull
|
||||||
|
wineWow64Packages.stagingFull
|
||||||
winetricks
|
winetricks
|
||||||
protontricks
|
protontricks
|
||||||
mangohud
|
mangohud
|
||||||
|
|||||||
Reference in New Issue
Block a user