further tidying
This commit is contained in:
parent
c351c646a3
commit
5e395ca047
29 changed files with 110 additions and 155 deletions
40
assets/boilerplate/boilerplate.nix
Normal file
40
assets/boilerplate/boilerplate.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ self, inputs, ... }:
|
||||
|
||||
# let bindings
|
||||
let
|
||||
|
||||
#foo = bar
|
||||
#
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
# nixos module declaration
|
||||
flake.modules.nixos.modulename = { ... }: {
|
||||
|
||||
# list of modules to import
|
||||
modules = [
|
||||
self.modules.nixos.othermodule
|
||||
];
|
||||
imports = [
|
||||
./otherfile.nix
|
||||
];
|
||||
|
||||
# options
|
||||
programs = { };
|
||||
|
||||
};
|
||||
|
||||
# home manager module declaration
|
||||
flake.modules.homeManager.modulename = { ... }: {
|
||||
|
||||
# module imports
|
||||
imports = [ ];
|
||||
|
||||
# options
|
||||
programs = { };
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue