os/hosts/default.nix
Benjamin Bädorf 38243e1583
All checks were successful
continuous-integration/drone/push Build is passing
refactor: start refactoring hosts dir
2023-10-02 11:55:24 +02:00

31 lines
684 B
Nix

{
# Configuration common to all Linux systems
flake = {
nixosModules = {
# NixOS modules that are known to work on nix-darwin.
common.imports = [
./nix.nix
./caches
];
my-home = {
users.users.${config.people.myself}.isNormalUser = true;
home-manager.users.${config.people.myself} = {
imports = [
self.homeModules.common-linux
];
};
};
default.imports = [
self.nixosModules.home-manager
self.nixosModules.my-home
self.nixosModules.common
./self-ide.nix
./ssh-authorize.nix
./current-location.nix
];
};
};
}