breaking things
This commit is contained in:
parent
131854f383
commit
931ed39d47
1 changed files with 4 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue