init
This commit is contained in:
commit
f7d48d286a
16 changed files with 519 additions and 0 deletions
38
flake.nix
Executable file
38
flake.nix
Executable file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
description = "server flake";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/release-25.05";
|
||||
noshell.url = "github:viperML/noshell";
|
||||
elmskell-blog.url = "git+file:///var/lib/git-server/blog.git";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
noshell,
|
||||
elmskell-blog,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
nixosConfigurations."server" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit self;
|
||||
inherit system;
|
||||
inherit elmskell-blog;
|
||||
};
|
||||
modules = [
|
||||
./services/elmskell.nix
|
||||
./services/ferron.nix
|
||||
./services/rgit.nix
|
||||
# ./services/mattermost.nix
|
||||
|
||||
noshell.nixosModules.default
|
||||
{programs.noshell.enable = true;}
|
||||
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue