From 68cbb8813843c9edc06e2099da39ef2cd24c0a71 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Wed, 3 Jul 2024 23:05:25 +0200 Subject: underworld: automount second hdd --- hosts/underworld/default.nix | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/hosts/underworld/default.nix b/hosts/underworld/default.nix index 9b2a60d..e47fe65 100644 --- a/hosts/underworld/default.nix +++ b/hosts/underworld/default.nix @@ -1,4 +1,9 @@ -{ pkgs, flakeRoot, inputs, ... }: { +{ pkgs +, flakeRoot +, inputs +, ... +}: +{ imports = [ # Include the results of the hardware scan. ./hardware.nix @@ -7,7 +12,11 @@ ./home.nix (flakeRoot + /share/system/client-common.nix) #(flakeRoot + /share/system/spotifyd.nix) - { _module.args = { inherit inputs; }; } + { + _module.args = { + inherit inputs; + }; + } ]; programs.fish.enable = true; @@ -29,14 +38,28 @@ users.users = { osiris = { isNormalUser = true; - extraGroups = [ "wheel" "video" "network" "podman" ]; + extraGroups = [ + "wheel" + "video" + "network" + "podman" + ]; }; guest = { isNormalUser = true; - extraGroups = [ "video" "network" ]; + extraGroups = [ + "video" + "network" + ]; }; }; + fileSystems."/mnt/drive2" = { + # No clue how that counts as an UUID, but blkid says so + device = "/dev/disk/by-uuid/682460BD2460903C"; + fsType = "ntfs"; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave -- cgit v1.3.1