Add inputs to flake, remove unnecessary boilerplate
parent
744dcd462f
commit
1324b96475
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
|
|
@ -8,11 +8,8 @@
|
|||
outputs = inputs@{ nixpkgs, ... }:
|
||||
{
|
||||
nixosConfigurations.linode-nixos =
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue