new user on laptop
This commit is contained in:
@@ -11,32 +11,30 @@
|
||||
outputs = { self, nixpkgs, home-manager }@inputs:
|
||||
|
||||
let
|
||||
user = "autumn";
|
||||
system = "x86_64-linux";
|
||||
timezone = "America/Denver";
|
||||
locale = "en_US.UTF-8";
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit user;
|
||||
inherit system;
|
||||
inherit timezone;
|
||||
inherit locale;
|
||||
};
|
||||
in {
|
||||
|
||||
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
|
||||
homeConfigurations.ruby= home-manager.lib.homeManagerConfiguration {
|
||||
extraSpecialArgs = specialArgs;
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
modules = [
|
||||
# ./home-manager/${user}/home.nix
|
||||
./home-manager/${user}/yukigekko-home.nix
|
||||
./home-manager/ruby/home.nix
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/nixos/configuration.nix
|
||||
./system/yukigekko/configuration.nix
|
||||
# home-manager.nixosModules.home-manager{
|
||||
# home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
|
||||
Reference in New Issue
Block a user