wrong hardware config *facepalm*

This commit is contained in:
2024-10-18 17:20:25 -05:00
parent 22f3ab8f51
commit 9e7b3a0250
7 changed files with 53 additions and 45 deletions

68
flake.lock generated
View File

@@ -7,11 +7,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-16SMbNTMTa+acgZVO0MihmuQonvLo4Oy24fSzNvBKLw=",
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/ags",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/ags",
"type": "path"
},
"original": {
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/ags",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/ags",
"type": "path"
}
},
@@ -215,11 +215,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-SakyZnAhoToQmui5hozmLqkoLw6N/AHCgKF4tCP/sTQ=",
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/disko",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/disko",
"type": "path"
},
"original": {
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/disko",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/disko",
"type": "path"
}
},
@@ -664,11 +664,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-FbSB/VPF1F8BjjGejCs9hzRK4uo5RNMoIdMdl58mEFM=",
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/hyprland",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/hyprland",
"type": "path"
},
"original": {
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/hyprland",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/hyprland",
"type": "path"
}
},
@@ -1029,11 +1029,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-7ipphehm+qDglyyFxGz2ZYf9uNbXCohPCFAGSI2QMb8=",
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/impermanence",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/impermanence",
"type": "path"
},
"original": {
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/impermanence",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/impermanence",
"type": "path"
}
},
@@ -1058,12 +1058,12 @@
},
"locked": {
"lastModified": 0,
"narHash": "sha256-w8QAH7J7i0N6VBrimTIEMRAQsNewV9Or9ZGciVC21s4=",
"path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/home",
"narHash": "sha256-M9BHb7k0Clh1ejqkGcE5gfEivRvpzj29Saqn97nryf8=",
"path": "/nix/store/dxqbspr2x77s6vsmd5cr2zhgv1k7p1j2-source/home",
"type": "path"
},
"original": {
"path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/home",
"path": "/nix/store/dxqbspr2x77s6vsmd5cr2zhgv1k7p1j2-source/home",
"type": "path"
}
},
@@ -1434,11 +1434,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-OZU1gknSkJk5HCw6UM9CczAtsBqiVQxpLL3lTQGXczw=",
"path": "/nix/store/w0pn2qrrc57j4dm04v5zqwczr9yzxs7k-source/packages",
"path": "/nix/store/vzgnwd4r6sl8y0xdylzgqsccjzzzfgvs-source/packages",
"type": "path"
},
"original": {
"path": "/nix/store/w0pn2qrrc57j4dm04v5zqwczr9yzxs7k-source/packages",
"path": "/nix/store/vzgnwd4r6sl8y0xdylzgqsccjzzzfgvs-source/packages",
"type": "path"
}
},
@@ -1449,11 +1449,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-6oCDKhDSqJMWeODXDHD5XorN7/+KXBBIPZ2z+obwUNY=",
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/packages",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/packages",
"type": "path"
},
"original": {
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/packages",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/packages",
"type": "path"
}
},
@@ -1522,12 +1522,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-h4bogpjTrrTzzj/EOatFp3eCjwrXgttguJLx7tHCEeo=",
"path": "/nix/store/w0pn2qrrc57j4dm04v5zqwczr9yzxs7k-source/programs",
"narHash": "sha256-ZK0b6O2RkZCprYDS6kjUqodElzONOQyL5cOdZ62Lr/c=",
"path": "/nix/store/vzgnwd4r6sl8y0xdylzgqsccjzzzfgvs-source/programs",
"type": "path"
},
"original": {
"path": "/nix/store/w0pn2qrrc57j4dm04v5zqwczr9yzxs7k-source/programs",
"path": "/nix/store/vzgnwd4r6sl8y0xdylzgqsccjzzzfgvs-source/programs",
"type": "path"
}
},
@@ -1539,11 +1539,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-hg0wqQn6BxQXLmfBINzZoaWpdSIlwwZxKbYz+4df83o=",
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/programs",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/programs",
"type": "path"
},
"original": {
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/programs",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/programs",
"type": "path"
}
},
@@ -1557,11 +1557,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-4mwfSmoMooqMRTneT8F0xdoHx1iVhja0VVJFmecj1+s=",
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/pywal",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/pywal",
"type": "path"
},
"original": {
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/pywal",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/pywal",
"type": "path"
}
},
@@ -1585,11 +1585,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-TsMqdRC5Rsop/6ASLtAFJc0Spt9NI8iQBk6dXxJ8mYA=",
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/rofi",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/rofi",
"type": "path"
},
"original": {
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/rofi",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/rofi",
"type": "path"
}
},
@@ -1620,11 +1620,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-Lhot2oWRydfHcxrmZkLP3IczpZeRIVgJSzSawmUzeVQ=",
"path": "/nix/store/yiyl8nsc4jvylxs2zdj8vdmsipir01p5-source/sddm",
"path": "/nix/store/2n3pqdsn3di17ghxyzr3f5irji4ahs88-source/sddm",
"type": "path"
},
"original": {
"path": "/nix/store/yiyl8nsc4jvylxs2zdj8vdmsipir01p5-source/sddm",
"path": "/nix/store/2n3pqdsn3di17ghxyzr3f5irji4ahs88-source/sddm",
"type": "path"
}
},
@@ -1669,12 +1669,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-Iek5h97Tc3MjuiLMbHC+K1bOk8QO5UCC5ZXG46erGzc=",
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/services",
"narHash": "sha256-FJVx1y+7zaIzwtakgFJY5cw3f5uCZHiNAB4jIY12178=",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/services",
"type": "path"
},
"original": {
"path": "/nix/store/kr9ilfsysil93lfls6mji5p1sgkzcjmm-source/services",
"path": "/nix/store/w7cv810nax2sb7yjsyqhms3jy35p00b6-source/services",
"type": "path"
}
},
@@ -1688,12 +1688,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-pisVSoS4ojquaGhd+MP6mtUmTOFK5ONzeTZJ1D6GOwQ=",
"path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/system",
"narHash": "sha256-+wdQr9EnKlOYvYpt4dHbF7tDGj8VAnap1w5jZeCAuuI=",
"path": "/nix/store/dxqbspr2x77s6vsmd5cr2zhgv1k7p1j2-source/system",
"type": "path"
},
"original": {
"path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/system",
"path": "/nix/store/dxqbspr2x77s6vsmd5cr2zhgv1k7p1j2-source/system",
"type": "path"
}
},
@@ -1770,11 +1770,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-2h0M0hXa3L6rQJ2hmDadiZBYJcoxRqFdlXD7tK0LFrM=",
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/terminal",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/terminal",
"type": "path"
},
"original": {
"path": "/nix/store/a7xzv44aj7lrp6rcah3r7r1g2jxp7z7c-source/terminal",
"path": "/nix/store/6sbs2aysmg5gin8hwi7233q6zpq3iy0b-source/terminal",
"type": "path"
}
},

View File

@@ -11,7 +11,7 @@
#------------------------------------------------#
monitor=eDP-1,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1
exec-once=onSystemStart

View File

@@ -34,7 +34,7 @@
homeconfig = {
calcurse.enable = true;
wayvnc.enable = false;
wayvnc.enable = true;
rofi.enable = true;
mpd.enable = true;
wal.enable = true;

View File

@@ -10,7 +10,7 @@
wayvnc
];
home.file.".config/wayvnc/config".txt = ''
home.file.".config/wayvnc/config".text = ''
use_relative_paths=true
address=0.0.0.0
enable_auth=true

View File

@@ -13,7 +13,7 @@
config = lib.mkIf config.sysconfig.homebox.enable {
allowUnfree = true;
nixpkgs.config.allowUnfree = true;
assertions = [
{
@@ -52,6 +52,10 @@
pulseaudio.enable = false;
};
environment.shells = with pkgs; [ zsh ];
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
services = {
xserver = {
@@ -68,5 +72,7 @@
WLR_LIBINPUT_NO_DEVICES = "1";
};
};
system.stateVersion = "24.05";
};
}

View File

@@ -8,18 +8,18 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/78c0964d-c09e-4e31-8a73-eb719d79917a";
{ device = "/dev/disk/by-uuid/efe05fe7-563d-411a-954b-317a2e7316f3";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AE5E-AC86";
{ device = "/dev/disk/by-uuid/78F7-FFB8";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
@@ -31,9 +31,9 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -9,6 +9,8 @@
config = lib.mkIf config.sysconfig.opts.openssh.enable {
networking.firewall.allowedTCPPorts = [ 22 ];
services.openssh = {
enable = true;
settings = {