Fix flake.nix and home/default.nix configurations
This commit is contained in:
63
flake.nix
63
flake.nix
@@ -27,34 +27,41 @@
|
|||||||
home-manager.users.panotaka = import ./home;
|
home-manager.users.panotaka = import ./home;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};*/
|
||||||
msi-rtx4090 = nixpkgs.lib.nixosSystem {
|
Equinox = nixpkgs.lib.nixosSystem
|
||||||
system = "x86_64-linux";
|
{
|
||||||
modules = [
|
system = "x86_64-linux";
|
||||||
./hosts/msi-rtx4090
|
specialArgs = { inherit inputs; };
|
||||||
home-manager.nixosModules.home-manager
|
modules = [
|
||||||
{
|
./hosts/Equinox
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.nixosModules.home-manager
|
||||||
home-manager.useUserPackages = true;
|
{
|
||||||
home-manager.extraSpecialArgs = inputs;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.users.panotaka = import ./home;
|
home-manager.useUserPackages = true;
|
||||||
}
|
home-manager.extraSpecialArgs = inputs;
|
||||||
];
|
|
||||||
}; */
|
home-manager.users.panotaka =
|
||||||
Equinox = nixpkgs.lib.nixosSystem {
|
{
|
||||||
system = "x86_64-linux";
|
imports = [
|
||||||
specialArgs = { inherit inputs; };
|
./home
|
||||||
modules = [
|
./home/shell
|
||||||
./hosts/Equinox
|
./home/desktop
|
||||||
home-manager.nixosModules.home-manager
|
];
|
||||||
{
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
}
|
||||||
home-manager.useUserPackages = true;
|
];
|
||||||
home-manager.extraSpecialArgs = inputs;
|
};
|
||||||
home-manager.users.panotaka = import ./home;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration
|
||||||
|
{
|
||||||
|
homeDirectory = "/home/panotaka";
|
||||||
|
configuration = { pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
./home
|
||||||
|
./home/shell
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home = {
|
home = {
|
||||||
@@ -24,12 +19,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.teams-for-linux
|
pkgs.teams-for-linux
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
12
home/shell/git.nix
Normal file
12
home/shell/git.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{ pkgs
|
||||||
|
, ...
|
||||||
|
}: {
|
||||||
|
home.packages = [ pkgs.gh ];
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
userName = "Thomas Syms";
|
||||||
|
userEmail = "thomassyms@gmail.com";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user