diff --git a/common/os/configuration.nix b/common/os/configuration.nix index a04f4ff..546ca74 100644 --- a/common/os/configuration.nix +++ b/common/os/configuration.nix @@ -120,6 +120,7 @@ lib.mkMerge [ ]; packages = [ ]; shell = pkgs.zsh; + uid = lib.mkDefault 1000; }; programs.zsh.enable = true; programs.direnv.enable = true; diff --git a/hosts/yuhata/os/hardware-configuration.nix b/hosts/yuhata/os/hardware-configuration.nix index abc81f8..b69242e 100644 --- a/hosts/yuhata/os/hardware-configuration.nix +++ b/hosts/yuhata/os/hardware-configuration.nix @@ -62,6 +62,17 @@ ]; }; + boot.supportedFilesystems = [ "ntfs" ]; + environment.systemPackages = [ pkgs.ntfs3g ]; + fileSystems."/mnt/windows" = { + device = "/dev/disk/by-uuid/006CB2696CB258DC"; + fsType = "ntfs-3g"; + options = [ + "rw" + "uid=${toString config.users.users.${config.sidonia.userName}.uid}" + ]; + }; + boot.tmp.cleanOnBoot = true; boot.zswap.enable = true; swapDevices = [