new flake

This commit is contained in:
2023-11-29 19:49:09 +00:00
parent 9567d75cb8
commit ca61daf085
11 changed files with 171 additions and 752 deletions

View File

@@ -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;