Compare commits
3 Commits
6a37e231f5
...
9c49269330
Author | SHA1 | Date |
---|---|---|
madmin | 9c49269330 | |
madmin | 9a18d36bf5 | |
madmin | efed5f9fda |
|
@ -7,7 +7,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
# ============= Official NixOS and HM Package Sources ============= #
|
# ============= Official NixOS and HM Package Sources ============= #
|
||||||
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; # also see 'unstable-packages' overlay at 'overlays/default.nix"
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; # also see 'unstable-packages' overlay at 'overlays/default.nix"
|
||||||
|
|
||||||
hardware.url = "github:nixos/nixos-hardware";
|
hardware.url = "github:nixos/nixos-hardware";
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
# use path relative to the root of the project
|
|
||||||
relativeToRoot = lib.path.append ../.;
|
|
||||||
scanPaths = path:
|
scanPaths = path:
|
||||||
builtins.map
|
builtins.map
|
||||||
(f: (path + "/${f}"))
|
(f: (path + "/${f}"))
|
||||||
|
|
|
@ -14,7 +14,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
# Import this user's personal/home configurations
|
# Import this user's personal/home configurations
|
||||||
home-manager.users.${configVars.username} = import (configLib.relativeToRoot "home/${configVars.username}/${config.networking.hostName}.nix");
|
home-manager.users.${configVars.username} = import ("${self}/home/${configVars.username}/${config.networking.hostName}.nix");
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
++ (map configLib.relativeToRoot [
|
++ (map (x: "${self}/" + x) [
|
||||||
# = Required Configs ####################
|
# = Required Configs ####################
|
||||||
"systems/common/core"
|
"systems/common/core"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue