mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
home-manager: added standalone config
This commit is contained in:
parent
76b177a2f0
commit
151fbaad72
|
@ -20,9 +20,6 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
# # Declarative Flatpaks.
|
||||
# nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.3.0";
|
||||
|
||||
# Pre-baked hardware support for various devices.
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
};
|
||||
|
@ -37,10 +34,10 @@
|
|||
outputs =
|
||||
inputs@{ nixpkgs-unstable, home-manager-unstable, nixos-hardware, ... }: {
|
||||
|
||||
homeConfigurations."aly" =
|
||||
homeConfigurations.aly =
|
||||
home-manager-unstable.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs-unstable { system = "x86_64-linux"; };
|
||||
modules = [ ./homeManagerModules ];
|
||||
modules = [ ./home.nix ];
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
|
|
10
home.nix
Normal file
10
home.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./homeManagerModules ];
|
||||
home.username = "aly";
|
||||
home.homeDirectory = "/home/aly";
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
}
|
|
@ -2,4 +2,12 @@
|
|||
|
||||
{
|
||||
imports = [ ./cliApps ./guiApps ./desktopEnv ./userServices ];
|
||||
|
||||
nixpkgs = {
|
||||
# Configure nixpkgs instance
|
||||
config = {
|
||||
# Enableunfree packages
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,5 @@
|
|||
|
||||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
desktopEnv.hyprland.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,5 @@
|
|||
|
||||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
desktopEnv.hyprland.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,5 @@
|
|||
|
||||
home.stateVersion = "23.11";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
desktopEnv.hyprland.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue