feat: simplify flake.nix

This commit is contained in:
Ryan Yin
2023-07-26 20:07:42 +08:00
parent eebbb9f5e6
commit 204cb03922
70 changed files with 1183 additions and 1165 deletions
+7 -5
View File
@@ -1,8 +1,12 @@
{ config, pkgs, ... }:
{
config,
pkgs,
username,
...
}: {
# mount a smb/cifs share
fileSystems."/home/ryan/SMB-Downloads" = {
fileSystems."/home/${username}/SMB-Downloads" = {
device = "//192.168.5.194/Downloads";
fsType = "cifs";
options = [
@@ -10,5 +14,3 @@
];
};
}