From d12b93664d5d8eb71763ae9bf35ab7f1423d8722 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Fri, 7 Feb 2025 19:06:37 +0100 Subject: [PATCH] :art: use flakes in dotfiles --- nixos/flake.lock | 26 ++++++++++++++++++++++++++ nixos/flake.nix | 15 +++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 nixos/flake.lock create mode 100644 nixos/flake.nix diff --git a/nixos/flake.lock b/nixos/flake.lock new file mode 100644 index 0000000..1ff34bc --- /dev/null +++ b/nixos/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1738078788, + "narHash": "sha256-QyCJLV1v8ECVr/e2UVt+4atWHi9aTPUAhPjW3hW0Ja0=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "3dad8067aba6ecb98a1869c775dab7fef3a51dd1", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/nixos/flake.nix b/nixos/flake.nix new file mode 100644 index 0000000..028ab4f --- /dev/null +++ b/nixos/flake.nix @@ -0,0 +1,15 @@ + +{ + inputs.nixpkgs.url = "github:nixos/nixpkgs"; + + outputs = { self, nixpkgs }: { + nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./configuration.nix + ./hardware-configuration.nix + ]; + }; + }; +} +