mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
70 lines
1.5 KiB
Nix
70 lines
1.5 KiB
Nix
{
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
outputs,
|
|
...
|
|
}: let
|
|
my-utils = inputs.my-utils.packages.${pkgs.system}.default;
|
|
in {
|
|
imports =
|
|
[
|
|
# ./beets.nix
|
|
# ./keybase.nix
|
|
# "${inputs.vscode-server}/modules/vscode-server/home.nix"
|
|
]
|
|
++ (builtins.attrValues outputs.homeManagerModules);
|
|
|
|
###dotfiles path variable
|
|
options._dotfiles = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "${inputs.self}/home-manager/dotfiles";
|
|
description = "Path to the dotfiles in this repository";
|
|
};
|
|
|
|
###secrets path variable
|
|
options._secrets = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "/run/user/1000/secrets/";
|
|
description = "Path to the Secrets runtime";
|
|
};
|
|
|
|
###secretstore path variable
|
|
options._secretstore = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "${inputs.self}/secrets/";
|
|
description = "Path to the Secrets storage";
|
|
};
|
|
|
|
config = {
|
|
# nixpkgs = {
|
|
# overlays = builtins.attrValues outputs.overlays;
|
|
# config = {
|
|
# allowUnfree = true;
|
|
# allowUnfreePredicate = _: true;
|
|
# };
|
|
# };
|
|
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
settings = {
|
|
experimental-features = ["nix-command" "flakes"];
|
|
warn-dirty = false;
|
|
};
|
|
};
|
|
|
|
##VSCode
|
|
# services.vscode-server.enable = true;
|
|
# services.vscode-server.enableFHS = true;
|
|
# services.vscode-server.nodejsPackage = pkgs.nodejs-18_x;
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
git.enable = true;
|
|
gh.enable = true;
|
|
|
|
};
|
|
};
|
|
}
|