updates
This commit is contained in:
parent
bae9b655a3
commit
2a60f0f94a
2 changed files with 14 additions and 15 deletions
27
flake.nix
27
flake.nix
|
@ -25,6 +25,14 @@
|
|||
|
||||
outputs = { self, nypkgs, nixpkgs, home-manager, ... } @ inputs:
|
||||
let
|
||||
user = {
|
||||
username = "josh";
|
||||
git = {
|
||||
|
||||
email = "ringofstorms@gmail.com";
|
||||
name = "RingOfStorms (Joshua Bell)";
|
||||
};
|
||||
};
|
||||
myHosts = [
|
||||
{
|
||||
name = "gpdPocket3";
|
||||
|
@ -32,13 +40,7 @@
|
|||
system = "x86_64-linux";
|
||||
};
|
||||
settings = {
|
||||
user = {
|
||||
username = "josh";
|
||||
git = {
|
||||
email = "ringofstorms@gmail.com";
|
||||
name = "RingOfStorms (Joshua Bell)";
|
||||
};
|
||||
};
|
||||
inherit user;
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -47,13 +49,7 @@
|
|||
system = "x86_64-linux";
|
||||
};
|
||||
settings = {
|
||||
user = {
|
||||
username = "josh";
|
||||
git = {
|
||||
email = "ringofstorms@gmail.com";
|
||||
name = "RingOfStorms (Joshua Bell)";
|
||||
};
|
||||
};
|
||||
inherit user;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -73,7 +69,8 @@
|
|||
acc // {
|
||||
"${nixConfig.name}" = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
modules = [./hosts/_common/configuration.nix ./hosts/${nixConfig.name}/configuration.nix ];
|
||||
# module = nixConfig.overrides.modules or [...]
|
||||
modules = [ ./hosts/_common/configuration.nix ];
|
||||
specialArgs = inputs // {
|
||||
ylib = nypkgs.legacyPackages.${nixConfig.opts.system}.lib;
|
||||
settings = directories // nixConfig.settings // {
|
||||
|
|
|
@ -22,6 +22,8 @@ in
|
|||
networking.hostName = settings.system.hostname;
|
||||
# TODO do I want this dynamic at all? Roaming?
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
# nix helper
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue