Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Legy (Beini)
nixos-machines-template
Commits
ad1cf1cb
Verified
Commit
ad1cf1cb
authored
Jan 05, 2022
by
Legy (Beini)
Browse files
Adapt for current wat
parent
56c55153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
flake.nix
flake.nix
+6
-4
No files found.
flake.nix
View file @
ad1cf1cb
...
...
@@ -5,20 +5,22 @@
nixpkgs
.
url
=
github
:
NixOS/nixpkgs/nixos-unstable
;
wat
=
{
url
=
git
lab
:
beini/wat
?
host
=
git
.
c3pb
.
de
;
url
=
git
hub
:
thelegy/wat
;
inputs
.
nixpkgs
.
follows
=
"nixpkgs"
;
};
};
outputs
=
flakes
:
flakes
.
wat
.
lib
.
mkWatRepo
flakes
({
findModules
,
findMachines
,
...
}:
rec
{
loadOverlays
=
[
outputs
.
overlay
];
loadModules
=
flakes
.
wat
.
lib
.
attrValues
outputs
.
nixosModules
;
namespace
=
[
"example"
];
#repoUuid = "";
#loadOverlays = [];
#loadModules = [];
outputs
=
{
overlay
=
import
./pkgs
;
nixosModules
=
findModules
[
"example"
]
./modules
;
nixosModules
=
findModules
namespace
./modules
;
nixosConfigurations
=
findMachines
./machines
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment