summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
committerJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
commitd9511a642b80c16db6508bc1f4b51f229c257b3a (patch)
treea9cdf25f7e0f74abc484cb45fce25ea86bf0853a /flake.nix
Initial commit
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix33
1 files changed, 33 insertions, 0 deletions
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; };
+ }
+ ];
+ };
+ };
+}