summaryrefslogtreecommitdiff
path: root/nixosConfigurations
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-04-01 04:39:59 +0300
committerAzat Bahawi <azat@bahawi.net>2023-04-01 04:39:59 +0300
commitf4145939712b0046e5d57906d4b157b8a150614d (patch)
tree3c8d24db6410692e0fa59570ff698d446ae5a96e /nixosConfigurations
parentf6e36a699ae2d073e340e0a5844b8e111ed3de37 (diff)
2023-04-01
Diffstat (limited to 'nixosConfigurations')
-rw-r--r--nixosConfigurations/eonwe/default.nix30
1 files changed, 25 insertions, 5 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/nixosConfigurations/eonwe/default.nix
index 4c29013..ac00d17 100644
--- a/nixosConfigurations/eonwe/default.nix
+++ b/nixosConfigurations/eonwe/default.nix
@@ -28,7 +28,11 @@ with lib; {
};
hm = {
- home.packages = with pkgs; [obs-studio];
+ home.packages = with pkgs; [
+ kdenlive
+ obs-studio
+ radeontop
+ ];
programs = {
beets.settings.directory = mkForce "/mnt/udata/music";
@@ -69,7 +73,7 @@ with lib; {
boot = {
# TODO Override Xanmod kernel to support ZFS. This probably will require
- # some patching and whatnot.
+ # some patching.
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelParams = [
@@ -80,7 +84,11 @@ with lib; {
# mce: [Hardware Error]: PROCESSOR 2:a60f12 TIME 1669988017 SOCKET 0 APIC 2 microcode a601201
# ```
"mce=nobootlog"
- # Required for Hogwats Legacy.
+ # This disables[1] User Mode Instruction Protection (UMIP)[2]. Required
+ # for some games to run via Wine.
+ #
+ # [1]: https://docs.kernel.org/x86/cpuinfo.html
+ # [2]: https://en.wikichip.org/wiki/x86/umip
"clearcpuid=514"
];
@@ -117,6 +125,18 @@ with lib; {
# -o mountpoint=legacy
# nixos/root/nix
# ```
+ #
+ # physical structure (backside):
+ # [ 1 ] [ 2 ] [ 3 ]
+ # 1: disk/by-id/ata-WDC_WD20SPZX-22UA7T0_WD-WXP2E3163YW6
+ # 2: disk/by-id/ata-WDC_WD20SPZX-22UA7T0_WD-WXN2E312R5HP
+ # 3: disk/by-id/ata-WDC_WD20SPZX-22UA7T0_WD-WXP2E311E6P2
+ #
+ # physical structure (mobo M.2):
+ # [ 1 ]
+ # [ 2 ]
+ # 1: disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENF0R872526A
+ # 2: disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENX0T807723X
fileSystems = {
"/" = {
device = "none";
@@ -153,8 +173,8 @@ with lib; {
};
};
- # No swap space is declared here because the system already has 128Gb of RAM. :^)
+ # No swap space is declared here because the system already has 128Gb of RAM.
# I've only manage to hit around 100Gb mark when running large
# computations/compiling something big. Pretty sure that a hefty chunk of it
- # was just residual cache and it wouldn't make me get to OOM situations.
+ # was just cache and it wouldn't make me get to OOM situations.
}