mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Changes drives for host nixbox, fixes desktop.nix profile
This commit is contained in:
parent
d0f1e9a09d
commit
5cc4117bf8
3 changed files with 11 additions and 8 deletions
|
@ -48,6 +48,7 @@ in {
|
|||
tealdeer
|
||||
unzip
|
||||
yq
|
||||
vhdl-ls
|
||||
zsh-completions
|
||||
]
|
||||
++ node-packages;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./default.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue