mirror of
https://github.com/sstent/vmimages.git
synced 2026-04-16 01:43:18 +00:00
new flake
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputs,
|
||||
#inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
outputs,
|
||||
#outputs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
@@ -11,8 +11,8 @@
|
||||
# ./beets.nix
|
||||
# ./keybase.nix
|
||||
"${inputs.vscode-server}/modules/vscode-server/home.nix"
|
||||
]
|
||||
++ (builtins.attrValues outputs.homeManagerModules);
|
||||
];
|
||||
# ++ (builtins.attrValues outputs.homeManagerModules);
|
||||
|
||||
###dotfiles path variable
|
||||
options._dotfiles = lib.mkOption {
|
||||
@@ -36,21 +36,21 @@
|
||||
};
|
||||
|
||||
config = {
|
||||
nixpkgs = {
|
||||
overlays = builtins.attrValues outputs.overlays;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = _: true;
|
||||
};
|
||||
};
|
||||
#nixpkgs = {
|
||||
# overlays = builtins.attrValues outputs.overlays;
|
||||
# config = {
|
||||
# allowUnfree = true;
|
||||
# allowUnfreePredicate = _: true;
|
||||
# };
|
||||
#};
|
||||
|
||||
nix = {
|
||||
package = lib.mkDefault pkgs.nix;
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
warn-dirty = false;
|
||||
};
|
||||
};
|
||||
#nix = {
|
||||
# package = lib.mkDefault pkgs.nix;
|
||||
# settings = {
|
||||
# experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
# warn-dirty = false;
|
||||
# };
|
||||
#};
|
||||
|
||||
##VSCode
|
||||
services.vscode-server.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user