From d9511a642b80c16db6508bc1f4b51f229c257b3a Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 23 Oct 2024 08:50:57 +0200 Subject: Initial commit --- flake.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..fce4308 --- /dev/null +++ b/flake.nix @@ -0,0 +1,33 @@ +{ + description = "My NixOS Flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + home-manager.url = "github:nix-community/home-manager/release-24.05"; + helix.url = "github:helix-editor/helix/master"; + home-jras.url = "path:/home/jras/home-manager"; + zen-browser.url = "github:MarceColl/zen-browser-flake"; + }; + + outputs = { self, nixpkgs, home-manager, home-jras, ... }@inputs: { + nixosConfigurations.tarrel = nixpkgs.lib.nixosSystem { + modules = [ + ./configuration.nix + ./hardware-configuration.nix + ./gaming.nix + ./networking.nix + ./keyd.nix + ./services.nix + ./packages.nix + + home-manager.nixosModules.home-manager { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.jras = import "${home-jras}/entrypoints/personal.nix"; + + home-manager.extraSpecialArgs = { inherit inputs; }; + } + ]; + }; + }; +} -- cgit v1.2.3