Changes drives for host nixbox, fixes desktop.nix profile

This commit is contained in:
willemml 2024-02-13 00:41:17 -08:00
parent d0f1e9a09d
commit 5cc4117bf8
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
3 changed files with 11 additions and 8 deletions

View file

@ -48,6 +48,7 @@ in {
tealdeer
unzip
yq
vhdl-ls
zsh-completions
]
++ node-packages;

View file

@ -20,6 +20,8 @@
boot.zfs.forceImportRoot = false;
networking.hostId = "06818aaa";
services.xserver.videoDrivers = ["amdgpu"];
hardware.opengl.driSupport = true;
hardware.opengl.enable = true;
@ -28,27 +30,23 @@
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/24855432-019b-43d9-9b83-9135b9dc31a6";
device = "/dev/disk/by-uuid/fe61bc5b-3b71-4819-8083-522f2c283252";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/F2E9-F515";
device = "/dev/disk/by-uuid/9624-F744";
fsType = "vfat";
};
boot.zfs.extraPools = ["zpool"];
swapDevices = [{device = "/dev/disk/by-uuid/36bb51f0-f56d-4408-b61c-7905789a7304";}];
swapDevices = [];
environment.systemPackages = [pkgs.zfs];
services.zfs.autoScrub.enable = true;
services.jellyfin.enable = true;
users.groups.torrent.gid = torrent_group_id;
networking.hostName = "nixbox";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
imports = [
./hyprland.nix
./default.nix