Initial commit
This commit is contained in:
commit
35e5eba3fd
4 changed files with 302 additions and 0 deletions
17
flake.nix
Normal file
17
flake.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
# /etc/nixos/flake.nix
|
||||
{
|
||||
inputs = {
|
||||
# NOTE: Replace "nixos-23.11" with that which is in system.stateVersion of
|
||||
# configuration.nix. You can also use latter versions if you wish to
|
||||
# upgrade.
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
outputs = inputs@{ self, nixpkgs, ... }: {
|
||||
# NOTE: 'nixos' is the default hostname set by the installer
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
# NOTE: Change this to aarch64-linux if you are on ARM
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./configuration.nix ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue