changed to unstable due to problems with nixpkgs

This commit is contained in:
Lorenz Hohermuth 2024-07-22 23:20:39 +02:00
parent d2beb7cfce
commit c8b71e2a2f
3 changed files with 47 additions and 1 deletions

View File

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

View File

@ -2,7 +2,7 @@
description = "A simple flake for a nix-shell"; description = "A simple flake for a nix-shell";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
outputs = { self, nixpkgs, ... }: outputs = { self, nixpkgs, ... }:

19
flake2.nix Normal file
View File

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