1
1
Fork 0

Move flake to top level

main
Bill Ewanick 2023-09-22 17:05:22 -04:00
parent afbd2a3794
commit 3246d39617
4 changed files with 29 additions and 29 deletions

View File

@ -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
View 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
];
};
};
}

View File

@ -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.

View File

@ -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
];
};
};
}