diff --git a/modules/default.nix b/modules/default.nix index bfc4ddb..f201896 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -21,6 +21,7 @@ ./ssh ./steam ./users + ../upstream self.inputs.home-manager.nixosModules.home-manager self.inputs.kde2nix.nixosModules.plasma6 self.inputs.nixos-generators.nixosModules.all-formats diff --git a/upstream/default.nix b/upstream/default.nix new file mode 100644 index 0000000..7d57ad7 --- /dev/null +++ b/upstream/default.nix @@ -0,0 +1,7 @@ +{ self, ... }: + +{ + imports = [ + ./modules + ]; +} diff --git a/upstream/modules/default.nix b/upstream/modules/default.nix new file mode 100644 index 0000000..be6b5e7 --- /dev/null +++ b/upstream/modules/default.nix @@ -0,0 +1,7 @@ +{ self, ... }: + +{ + imports = [ + ./sshfs + ]; +} diff --git a/upstream/modules/sshfs/default.nix b/upstream/modules/sshfs/default.nix new file mode 100644 index 0000000..cd71dda --- /dev/null +++ b/upstream/modules/sshfs/default.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + config = lib.mkIf (lib.any (fs: fs == "sshfs" || fs == "fuse.sshfs") config.boot.supportedFilesystems) { + system.fsPackages = [ pkgs.sshfs ]; + }; +} diff --git a/upstream/pkgs/default.nix b/upstream/pkgs/default.nix new file mode 100644 index 0000000..c08a416 --- /dev/null +++ b/upstream/pkgs/default.nix @@ -0,0 +1,6 @@ +{ self, ... }: + +{ + imports = [ + ]; +}