diff options
| author | Fuwn <[email protected]> | 2024-09-19 14:56:36 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-19 14:56:36 -0700 |
| commit | 7a3ed7fcac39a98a9d212d6e9fec1abde4d5bf7b (patch) | |
| tree | 47d753d384cb7a5e361f2b809104c8bdd1dd838b /hosts | |
| parent | networking: hcloud (diff) | |
| download | nixos-config-7a3ed7fcac39a98a9d212d6e9fec1abde4d5bf7b.tar.xz nixos-config-7a3ed7fcac39a98a9d212d6e9fec1abde4d5bf7b.zip | |
himeji: add docker volume
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/himeji/default.nix | 6 | ||||
| -rw-r--r-- | hosts/himeji/hardware-configuration.nix | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/hosts/himeji/default.nix b/hosts/himeji/default.nix index fe0b22e..46eac87 100644 --- a/hosts/himeji/default.nix +++ b/hosts/himeji/default.nix @@ -10,7 +10,11 @@ zramSwap.enable = true; services.openssh.enable = true; system.stateVersion = "24.05"; - environment.systemPackages = [ pkgs.fastfetch ]; + + environment.systemPackages = with pkgs; [ + fastfetch + vim + ]; networking = { hostName = "himeji"; diff --git a/hosts/himeji/hardware-configuration.nix b/hosts/himeji/hardware-configuration.nix index 6d6a7b0..bc902f1 100644 --- a/hosts/himeji/hardware-configuration.nix +++ b/hosts/himeji/hardware-configuration.nix @@ -31,4 +31,15 @@ ]; }; }; + + fileSystems."/mnt/docker" = { + device = "/dev/disk/by-id/scsi-0HC_Volume_101326440"; + fsType = "xfs"; + + options = [ + "discard" + "nofail" + "defaults" + ]; + }; } |