Move flake to top level
This commit is contained in:
6
server-config/flake.lock → flake.lock
generated
6
server-config/flake.lock → flake.lock
generated
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1687729501,
|
||||
"narHash": "sha256-mTLkMePoHUWvTCf3NuKbeYEea/tsikSIKBWwb9OfRr4=",
|
||||
"lastModified": 1695272228,
|
||||
"narHash": "sha256-4uw2OdJPVyjdB+xcDst9SecrNIpxKXJ2usN3M5HVa7o=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "35130d4b4f0b8c50ed2aceb909a538c66c91d4a0",
|
||||
"rev": "55ac2a9d2024f15c56adf20da505b29659911da8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
26
flake.nix
Normal file
26
flake.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
description = "System flake for Linode NixOS server";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, ... }:
|
||||
{
|
||||
nixosConfigurations.linode-nixos =
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
server-config/configuration.nix
|
||||
|
||||
# Applications that run on this server
|
||||
nixos-apps/crueltysquad.com.nix
|
||||
nixos-apps/cutesealfanpage.love.nix
|
||||
nixos-apps/ewanick.com.nix
|
||||
nixos-apps/fancytypist.com.nix
|
||||
nixos-apps/git.ewanick.com.nix
|
||||
nixos-apps/jitsi.crueltysquad.com.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -9,14 +9,6 @@
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Applications that run on this server
|
||||
../nixos-apps/crueltysquad.com.nix
|
||||
../nixos-apps/cutesealfanpage.love.nix
|
||||
../nixos-apps/ewanick.com.nix
|
||||
../nixos-apps/fancytypist.com.nix
|
||||
../nixos-apps/git.ewanick.com.nix
|
||||
../nixos-apps/jitsi.crueltysquad.com.nix
|
||||
];
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
description = "System flake for Linode NixOS server";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, ... }:
|
||||
{
|
||||
nixosConfigurations.linode-nixos =
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user