breaking things

This commit is contained in:
iFargle 2023-08-15 16:37:40 +09:00
parent 131854f383
commit 931ed39d47

View file

@ -4,29 +4,15 @@
description = "nixos-laptop flake";
inputs = {
# Encrypted secrets in Nix configuration files
# https://github.com/Mic92/sops-nix
sops-nix.url = "github:Mic92/sops-nix";
# Hardware support
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = {
unstable-nixpkgs,
home-manager,
lanzaboote,
nur,
sops-nix,
nixos-hardware,
...
}@inputs:
let
# Variables - Remember to set these
hostname = "nixos-laptop"; # Should probably set this in a minimal configuration.nix?
lib = unstable-nixpkgs.lib;
in {
outputs = { nixos-hardware, ... }@inputs: {
# NixOS Configuration files:
nixosConfigurations = {
# Declare a generic configuration using the $hostname variable:
${hostname} = lib.nixosSystem {
${hostname} = unstable-nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit hostname;