123456789101112131415161718192021222324252627282930313233343536373839404142 |
- {
- description = "Home Manager + NixOS configuration of Abdullah Khabir";
- inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
- hardware.url = "github:nixos/nixos-hardware";
- home-manager = {
- url = "github:nix-community/home-manager";
- inputs.nixpkgs.follows = "nixpkgs";
- };
- };
- outputs = { self, nixpkgs, home-manager, ... }:
- let
- system = "x86_64-linux";
- pkgs = nixpkgs.legacyPackages.${system};
- in {
- homeConfigurations.ak = home-manager.lib.homeManagerConfiguration {
- inherit pkgs;
- modules = [
- ./dots/home.nix
- {
- home = {
- username = "ak";
- homeDirectory = "/home/ak";
- stateVersion = "22.11";
- };
- }
- ];
- #extraSpecialArgs.repos = { inherit stacktile river; };
- };
- nixosConfigurations.x1c = nixpkgs.lib.nixosSystem {
- #inherit pkgs;
- system = "x86_64-linux";
- modules =
- [ ./nixos/configuration.nix ./nixos/hardware-configuration.nix ];
- };
- };
- }
|