Compare commits
No commits in common. "9390144b66a86a1c50d4eb7fdaf3376fdb4dcd00" and "f849d99dcc87a44e7f5ab45a7957aaad1032df5c" have entirely different histories.
9390144b66
...
f849d99dcc
3 changed files with 4 additions and 42 deletions
21
flake.nix
21
flake.nix
|
@ -49,11 +49,6 @@
|
|||
{ name = "perso-laptop"; system = "x86_64-linux"; }
|
||||
{ name = "perso-desktop"; system = "x86_64-linux"; }
|
||||
];
|
||||
|
||||
home-modules = [
|
||||
nix-flatpak.homeManagerModules.nix-flatpak
|
||||
nix-doom-emacs.hmModule
|
||||
];
|
||||
in {
|
||||
nixosConfigurations = nixpkgs.lib.foldl (c: s:
|
||||
c // {
|
||||
|
@ -68,23 +63,15 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = inputs;
|
||||
home-manager.users.florian.imports = home-modules ++ [
|
||||
home-manager.users.florian.imports = [
|
||||
nix-flatpak.homeManagerModules.nix-flatpak
|
||||
nix-doom-emacs.hmModule
|
||||
|
||||
./hosts/${s.name}/home.nix
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}) {} systems;
|
||||
|
||||
homeConfigurations = {
|
||||
perso-home = home-manager.lib.homeManagerConfiguration rec {
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
|
||||
modules = home-modules ++ [
|
||||
{ nix.package = pkgs.nix; }
|
||||
./hosts/perso-home/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/home
|
||||
];
|
||||
|
||||
modules.home = {
|
||||
apps = {
|
||||
kitty.enable = true;
|
||||
};
|
||||
|
||||
shell = {
|
||||
zsh.enable = true;
|
||||
atuin.enable = true;
|
||||
direnv.enable = true;
|
||||
git.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
# Tips: Home
|
||||
|
||||
- [Debug insecure package error](./debug_insecure_package.md)
|
||||
- [How try pull request](./how_to_test_pr.md)
|
||||
- [Build and run VM from nixos configuration](./test_on_vm.md)
|
Loading…
Add table
Reference in a new issue