initial config with paste and git
This commit is contained in:
parent
6524349eee
commit
8c7c87968e
4 changed files with 114 additions and 0 deletions
15
flake.nix
Normal file
15
flake.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
};
|
||||
outputs = { self, nixpkgs }@attrs: {
|
||||
nixosConfigurations.matilda-gage = nixpkgs.lib.nixosSystem rec {
|
||||
pkgs = import nixpkgs { inherit system; config = { allowUnfree = true; };};
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./configuration.nix
|
||||
# This fixes nixpkgs (for e.g. "nix shell") to match the system nixpkgs
|
||||
({ config, pkgs, options, ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue