tidying and such
This commit is contained in:
parent
42e502ec78
commit
45b2ab13bc
12 changed files with 0 additions and 0 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{ inputs, self, ... }: {
|
||||
|
||||
# module declaration
|
||||
flake.nixosConfigurations.myMachine = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
||||
# modules to import
|
||||
modules = with self; [
|
||||
nixosModules.myMachineModule
|
||||
nixosModules.myFirstModule
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
# module declaration
|
||||
flake.nixosModules.myMachineModule = { pkgs, ... }: {
|
||||
|
||||
# options declarations
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
# packages to import
|
||||
environment.systemPackages = with self; [
|
||||
packages.${pkgs.system}.myPackage
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue