This commit is contained in:
Vivian 2024-07-07 10:08:10 +02:00
parent a3283256b4
commit cfc82b3817
26 changed files with 172 additions and 1673 deletions

View file

@ -1,4 +1,5 @@
{ lib, inputs, pkgs, ... }: {
{ lib, inputs, ... }:
{
imports = [
./users
./modules
@ -7,8 +8,14 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
sharedModules = [ ./hm-modules inputs.nixvim.homeManagerModules.nixvim ];
extraSpecialArgs = {
inherit inputs;
};
sharedModules = [
./hm-modules
inputs.nixvim.homeManagerModules.nixvim
inputs.catppuccin.homeManagerModules.catppuccin
];
};
virtualisation.oci-containers.backend = lib.mkDefault "podman";
@ -29,12 +36,15 @@
# Nix Settings
nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
# registry.nixpkgs.flake = inputs.nixpkgs;
# nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
# package = pkgs.nixUnstable;
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "vivian" ];
trusted-users = [
"root"
"vivian"
];
substituters = [
"https://nix-community.cachix.org"
"https://nixpkgs-review-bot.cachix.org"