Compare commits
3 commits
cc354afe69
...
e2637dcb5c
Author | SHA1 | Date | |
---|---|---|---|
|
e2637dcb5c | ||
|
b16c859cc8 | ||
|
0bd492f6cc |
34
flake.nix
34
flake.nix
|
@ -41,6 +41,17 @@
|
|||
overlays = [
|
||||
nur.overlay
|
||||
];
|
||||
home-manager-config = toplevel: [
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.users.tacocat = {
|
||||
imports = [toplevel];
|
||||
_module.args.theme = import ./modules/themes;
|
||||
};
|
||||
}
|
||||
];
|
||||
in {
|
||||
# desktop
|
||||
nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem {
|
||||
|
@ -59,22 +70,13 @@
|
|||
nixosConfigurations."JWST" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./hosts/JWST/configuration.nix
|
||||
nixos-hardware.nixosModules.dell-xps-15-9520
|
||||
{nixpkgs.overlays = overlays;}
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.users."tacocat" = {
|
||||
imports = [
|
||||
./users/tacocat/home.nix
|
||||
];
|
||||
_module.args.theme = import ./modules/themes;
|
||||
};
|
||||
}
|
||||
];
|
||||
modules =
|
||||
[
|
||||
./hosts/JWST/configuration.nix
|
||||
nixos-hardware.nixosModules.dell-xps-15-9520
|
||||
{nixpkgs.overlays = overlays;}
|
||||
]
|
||||
++ home-manager-config ./users/tacocat/home.nix;
|
||||
};
|
||||
|
||||
formatter.${system} = pkgs.alejandra;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
home = {
|
||||
username = "tacocat";
|
||||
homeDirectory = "/home/tacocat";
|
||||
stateVersion = "23.11";
|
||||
stateVersion = "24.05";
|
||||
sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
BAT_THEME = "ansi";
|
||||
|
|
Loading…
Reference in a new issue