{ description = "My Nixo system configuration"; inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, home-manager, ... } @ attrs: let system = "86_64-linux"; in { nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { inherit system; specialArgs = attrs; modules = [ ./hosts/thinklappi home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.sils = import ./users/sils; home-manager.extraSpecialArgs = {inherit nixpkgs system;}; } ]; }; }; }