further tidying
This commit is contained in:
parent
c351c646a3
commit
5e395ca047
29 changed files with 110 additions and 155 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