summaryrefslogtreecommitdiff
path: root/templates/nixos/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nixos/flake.nix')
-rw-r--r--templates/nixos/flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/nixos/flake.nix b/templates/nixos/flake.nix
index 2f4f57f..f78331c 100644
--- a/templates/nixos/flake.nix
+++ b/templates/nixos/flake.nix
@@ -1,5 +1,5 @@
{
- description = "my cool flake";
+ description = "My cool Nix Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
@@ -14,6 +14,7 @@
{ self, nixpkgs, ... }@inputs:
let
inherit (nixpkgs) lib;
+
systems = [
"x86_64-linux"
"aarch64-linux"
@@ -22,7 +23,7 @@
];
forAllSystems = lib.genAttrs systems;
- nixpkgsFor = forAllSystems (system: nixpkgs.legacyPackages.${system});
+ nixpkgsFor = nixpkgs.legacyPackages;
in
{
nixosConfigurations.myComputer = nixpkgs.lib.nixosSystem {
@@ -43,6 +44,7 @@
packages = [
pkgs.fzf
pkgs.just
+
# Lets you run `nixfmt` to format all of your files
self.formatter.${system}
];