fix: inputs moment
This commit is contained in:
parent
aa08335bfa
commit
0a5834d9bb
5 changed files with 8 additions and 36 deletions
|
|
@ -12,15 +12,12 @@
|
||||||
hades
|
hades
|
||||||
hadesHardware
|
hadesHardware
|
||||||
|
|
||||||
# user defined options
|
|
||||||
#userOptions
|
|
||||||
|
|
||||||
# users to include on host
|
# users to include on host
|
||||||
serenity
|
serenity
|
||||||
|
|
||||||
# extra modules to include on host
|
# extra modules to include on host
|
||||||
#desktop
|
|
||||||
#terminal
|
#terminal
|
||||||
|
#desktop
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,10 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
flake.nixosModules.core =
|
flake.nixosModules.core =
|
||||||
{
|
{ lib, pkgs, ... }:
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
# flakepath for QoL
|
|
||||||
#flakePath = config.userOptions.flakePath;
|
|
||||||
|
|
||||||
# username
|
|
||||||
#username = config.userOptions.username;
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,7 @@
|
||||||
{ inputs, ... }: {
|
{
|
||||||
|
|
||||||
imports = [
|
|
||||||
|
|
||||||
# necessary for home manager functionality
|
|
||||||
inputs.home-manager.flakeModules.home-manager
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
# misc flake-parts configuration
|
# misc flake-parts configuration
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
# uarchs to build for
|
# uarchs to build for
|
||||||
systems = [
|
systems = [ "x86_64-linux" ];
|
||||||
"x86_64-linux"
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3
modules/system/hm-flake.nix
Normal file
3
modules/system/hm-flake.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{ inputs, ... }: {
|
||||||
|
imports = [ inputs.home-manager.flakeModules.home-manager ];
|
||||||
|
}
|
||||||
|
|
@ -5,12 +5,7 @@
|
||||||
# user module declaration
|
# user module declaration
|
||||||
flake.nixosModules.serenity =
|
flake.nixosModules.serenity =
|
||||||
|
|
||||||
{
|
{ inputs, pkgs, ... }:
|
||||||
inputs,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue