Compare commits

...

3 commits

7 changed files with 70 additions and 20 deletions

View file

@ -20,3 +20,9 @@
# AMD_VULKAN_ICD=RADV RADV_PERFTEST=aco PROTON_USE_D9VK=1 CAP_SYS_NICE=eip gamescope --expose-wayland --backend sdl --framerate-limit 120 --output-height 2160 --output-width 3840 --prefer-vk-device 7550:C0 --rt -F fsr -f --sharpness 4 -- gamemoderun %command%
# CAP_SYS_NICE=eip gamescope --expose-wayland --backend sdl --framerate-limit 144 --output-height 1440 --output-width 2560 --rt -F fsr -f --sharpness 4 -- gamemoderun %command%
# gamescope --expose-wayland --backend sdl --framerate-limit 144 --output-height 1440 --output-width 2560 --prefer-vk-device 7480:CF --prefer-output DP-2 --fullscreen --rt -F fsr --sharpness 4 -- gamemoderun %command%
# CAP_SYS_NICE=eip gamescope --expose-wayland --backend sdl --framerate-limit 160 --output-height 1440 --output-width 2560 --prefer-vk-device 73A5:C0 --prefer-output DP-2 --fullscreen --force-windows-fullscreen --rt -F fsr --sharpness 4 -- gamemoderun %command%
# SDL_VIDEODRIVER=x11 CAP_SYS_NICE=eip gamescope --expose-wayland --backend sdl --framerate-limit 160 --output-height 1440 --output-width 2560 --force-windows-fullscreen -f --prefer-vk-device 73A5:C0 --prefer-output DP-2 -- gamemoderun %command% --use-d3d11

View file

@ -105,6 +105,24 @@ in
programs.home-manager.enable = true;
## NIX NIX NIX ##
home.file =
let
nixConfig = pkgs.writeText "config.nix" ''
{
allowUnfree = true;
permittedInsecurePackages = [
"ventoy-gtk3-1.1.05"
];
}
'';
in
{
".config/nixpkgs/config.nix" = {
source = nixConfig;
};
};
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
}

View file

@ -27,11 +27,23 @@
home.packages = builtins.attrValues {
inherit (pkgs)
## Media ##
cider # Apple Music
ffmpeg
gpu-screen-recorder-gtk
spotify
youtube-music
## Social ##
betterdiscordctl
discord
telegram-desktop
## Tools ##
bitwarden-desktop
inspector
## Productivity ##
gimp
inkscape
;
};
}

View file

@ -8,7 +8,7 @@
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DP-3</connector>
<connector>DP-2</connector>
<vendor>GBT</vendor>
<product>M27Q</product>
<serial>21030B006741</serial>
@ -16,9 +16,8 @@
<mode>
<width>2560</width>
<height>1440</height>
<rate>143.856</rate>
<rate>169.831</rate>
</mode>
<colormode>bt2100</colormode>
</monitor>
</logicalmonitor>
</configuration>

View file

@ -22,10 +22,22 @@
home.packages = builtins.attrValues {
inherit (pkgs)
## Media ##
cider # Apple Music
ffmpeg
spotify
gpu-screen-recorder-gtk
## Social ##
telegram-desktop
discord
betterdiscordctl
## Tools ##
bitwarden-desktop
inspector
## Productivity ##
gimp
inkscape
;
};
}

View file

@ -48,6 +48,7 @@ in
];
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};

View file

@ -6,7 +6,6 @@
modulesPath,
...
}:
{
imports = lib.flatten [
(modulesPath + "/installer/scan/not-detected.nix")
@ -28,8 +27,7 @@
};
# Use the cachyos kernel for better performance
# kernelPackages = pkgs.linuxPackages_cachyos;
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages_cachyos;
initrd = {
systemd.enable = true;
@ -50,19 +48,23 @@
];
extraModulePackages = [ ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
fileSystems."/" = {
device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C9F2-4C1F";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C9F2-4C1F";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; }
swapDevices = [
{ device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; }
];
time.hardwareClockInLocalTime = true; # Fixes windows dual-boot time issues