added first modules
This commit is contained in:
10
modules/configs/parts.nix
Normal file
10
modules/configs/parts.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
config = {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -3,9 +3,9 @@
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.nixosConfigurations.desktop = inputs.nixpkgs.lib.nixosSystem {
|
||||
flake.nixosConfigurations.HACKSTATION = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
self.nixosModules.desktopConfiguration
|
||||
self.nixosModules.core
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
9
modules/system/core.nix
Normal file
9
modules/system/core.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.core = {pkgs}: {
|
||||
programs.zsh.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user