From 8c63b781fa5af0b9a81376e98dcc1d3accbb3490 Mon Sep 17 00:00:00 2001 From: stitchy Date: Sun, 6 Aug 2023 16:57:34 +0000 Subject: [PATCH] alsdsjdfkj --- flake.nix | 27 +++++++++++---------------- users/stitchynyan/home.nix | 11 ++++++++++- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index 080a26c..90f1be9 100644 --- a/flake.nix +++ b/flake.nix @@ -19,31 +19,26 @@ home-manager, hyprland, ... - }: { + } @inputs : { - nixpkgs.hostPlatform = "x86_64-linux"; + system = "x86_64-linux"; pkgs = import nixpkgs { #config.allowUnfree = true; }; + stitchynyan = nixpkgs.lib.nixosSystem { + modules = [ - nixosConfigurations = { + ./configuration.nix + home-manager.nixosModules.home-manager - hostname = nixpkgs.lib.nixosSystem { - modules = [ - ./configuration.nix - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = false; - home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix ; - } - hyprland.homeManagerModules.default - {wayland.windowManager.hyprland.enable = true;} - ]; - }; + { + _module.args = {inherit inputs;}; + home-manager.extraSpecialArgs = {inherit inputs;}; + } + ]; }; }; } diff --git a/users/stitchynyan/home.nix b/users/stitchynyan/home.nix index 7e057f7..01ed186 100644 --- a/users/stitchynyan/home.nix +++ b/users/stitchynyan/home.nix @@ -1,3 +1,12 @@ -{ config, pkgs, ... } +{ config, pkgs, ... }: + +{ + + imports = [ + inputs.nix-index-db.hmModules.nix-index + ]; + + +}