diff --git a/flake.lock b/flake.lock index e69de29..685f6f6 100644 --- a/flake.lock +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1721379653, + "narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index 74881a1..07ec973 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "A simple flake for a nix-shell"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs, ... }: diff --git a/flake2.nix b/flake2.nix new file mode 100644 index 0000000..74881a1 --- /dev/null +++ b/flake2.nix @@ -0,0 +1,19 @@ +{ + description = "A simple flake for a nix-shell"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + }; + + outputs = { self, nixpkgs, ... }: + let + lib = nixpkgs.lib; + in { + nixosConfigurations = { + hp-laptop-lho = lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./configuration.nix ]; + }; + }; + }; +}