diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..6b15fc1 --- /dev/null +++ b/flake.lock @@ -0,0 +1,48 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1646258393, + "narHash": "sha256-mKDoCi5Baqainjf0Nx6oTPhaxKQdj4P17XTdhTtXGRA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "ed02c2ba0384b2800db41333045a6fb781f12aac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-21.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "sops-nix": "sops-nix" + } + }, + "sops-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1645891244, + "narHash": "sha256-Pu3a97Zn0PpWi/prTyD9TulCmxyeVnlqofor+yScRD8=", + "owner": "Mic92", + "repo": "sops-nix", + "rev": "afb0d686dced029ea720c466f693c12ebfd4107b", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "sops-nix", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/hosts/birne/configuration.nix b/hosts/birne/configuration.nix index ba7cb06..6d1536d 100644 --- a/hosts/birne/configuration.nix +++ b/hosts/birne/configuration.nix @@ -44,8 +44,12 @@ # services.xserver.enable = true; nixpkgs.config.allowUnfree = true; - - + nix = { + package = pkgs.nixUnstable; # or versioned attributes like nix_2_4 + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; # Configure keymap in X11 # services.xserver.layout = "us"; # services.xserver.xkbOptions = "eurosign:e";