blob: f3f007810addc82a67a489dc7426043e48257f57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
{ pkgs, ... }:
{
imports = [
../modules/nixos-hardware/common/cpu/amd
../modules/nixos-hardware/common/pc/ssd
../modules/workstation/audio
../modules/workstation/hardware/bluetooth
../modules/workstation/physical
../modules/workstation/windowing/streaming
];
nixpkgs.hostPlatform.system = "x86_64-linux";
hardware.enableRedistributableFirmware = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.availableKernelModules =
[ "amdgpu" "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-amd" ];
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/3b86ddac-b0c6-41a5-a562-6a38271e3e0f";
fileSystems."/" = {
device = "/dev/disk/by-uuid/b1e9177d-897a-4721-9e9a-b85566a40dea";
fsType = "btrfs";
options = [ "compress=zstd,subvol=@.qyliss" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/b1e9177d-897a-4721-9e9a-b85566a40dea";
fsType = "btrfs";
options = [ "compress=zstd,subvol=@home" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/b1e9177d-897a-4721-9e9a-b85566a40dea";
fsType = "btrfs";
options = [ "compress=zstd,subvol=@nix" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A6C9-8FC2";
fsType = "vfat";
};
networking.hostName = "hoshi";
# Not enough memory for 24 core builds of webkitgtk.
nix.settings.cores = 12;
programs.sway.extraConfig = ''
output HDMI-A-1 pos 0 0 scale 2
output DP-1 scale 3
'';
system.stateVersion = "23.05";
users.users.qyliss.password = "helloworld";
hardware.opengl.enable = true;
hardware.opengl.extraPackages = with pkgs; [ libGL ];
}
|