aboutsummaryrefslogtreecommitdiff
path: root/hosts/underworld
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-07-03 23:05:25 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-07-03 23:05:25 +0200
commit68cbb8813843c9edc06e2099da39ef2cd24c0a71 (patch)
tree9843d034002d7f81519483ffc8ac5096a3ec7078 /hosts/underworld
parent2a9e3d876f7ae9db7733c2644fd283a9ed152879 (diff)
underworld: automount second hdd
Diffstat (limited to 'hosts/underworld')
-rw-r--r--hosts/underworld/default.nix31
1 files 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