mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
38 lines
904 B
Nix
38 lines
904 B
Nix
# This file (and the global directory) holds config that i use on all hosts
|
|
{ lib, inputs, outputs, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.home-manager.nixosModules.home-manager
|
|
./sops.nix
|
|
] ++ (builtins.attrValues outputs.nixosModules);
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
extraSpecialArgs = { inherit inputs outputs; };
|
|
sharedModules = [
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
];
|
|
|
|
|
|
};
|
|
|
|
nixpkgs = {
|
|
#overlays = builtins.attrValues outputs.overlays;
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
programs.fuse.userAllowOther = true;
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
# nixpkgs.overlays = overlays;
|
|
# Enable nix flakes
|
|
nix.package = pkgs.nixFlakes;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
} |