some changes
This commit is contained in:
parent
1c543e97f0
commit
f0916dd015
|
@ -18,10 +18,9 @@
|
||||||
flake = let
|
flake = let
|
||||||
machineConf = import ./machines/earth/earth.nix {inherit self;};
|
machineConf = import ./machines/earth/earth.nix {inherit self;};
|
||||||
system = machineConf.universe.system.arch;
|
system = machineConf.universe.system.arch;
|
||||||
u = import ./ulib {inherit inputs system;};
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations."earth" = inputs.nixpkgs.lib.nixosSystem {
|
nixosConfigurations."earth" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit system inputs u;};
|
specialArgs = {inherit system inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
machineConf
|
machineConf
|
||||||
./modules
|
./modules
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
system,
|
system,
|
||||||
inputs,
|
inputs,
|
||||||
u,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
@ -10,6 +9,6 @@
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
backupFileExtension = "hm-old";
|
backupFileExtension = "hm-old";
|
||||||
users.${config.universe.system.username} = import ./users/${config.universe.system.username};
|
users.${config.universe.system.username} = import ./users/${config.universe.system.username};
|
||||||
extraSpecialArgs = {inherit system inputs u;};
|
extraSpecialArgs = {inherit system inputs;};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{u, ...}: {
|
{
|
||||||
imports = u.umport {
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = inputs.nypkgs.legacyPackages.${system}.lib.umport {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
|
|
||||||
include = [
|
include = [
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{u, ...}: {
|
{
|
||||||
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
imports = u.umport {
|
imports = inputs.nypkgs.legacyPackages.${system}.lib.umport {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{u, ...}: {
|
{
|
||||||
imports = u.umport {
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = inputs.nypkgs.legacyPackages.${system}.lib.umport {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
umport = inputs.nypkgs.legacyPackages.${system}.lib.umport;
|
umport = ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue