nixos-configuration/hosts/ona-book/default.nix

47 lines
862 B
Nix
Raw Normal View History

2025-01-02 01:14:41 +01:00
{
nixpkgs,
common-modules,
desktop-modules,
2025-01-05 17:46:32 +01:00
nixos-hardware,
home-manager,
2025-01-02 01:14:41 +01:00
...
}:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2025-01-05 17:46:32 +01:00
modules = common-modules ++ [
home-manager.nixosModules.home-manager
../../home
../../modules/desktop-environment.nix
2025-01-02 01:14:41 +01:00
2025-01-05 17:46:32 +01:00
nixos-hardware.nixosModules.apple-macbook-pro-14-1
{ allowedUnfreePackages = [ "b43-firmware" ]; }
2025-01-02 01:14:41 +01:00
2025-01-05 17:46:32 +01:00
./hardware.nix
../../home/gnome.nix
../../users/ronja.nix
../../modules/gnome.nix
2025-01-02 01:14:41 +01:00
2025-01-05 17:46:32 +01:00
{
networking = {
hostName = "ona-book";
networkmanager.enable = true;
};
services.xserver.xkb = {
layout = "us";
options = "eurosign:e,caps:escape";
};
}
2025-01-02 01:14:41 +01:00
2025-01-05 17:46:32 +01:00
{
home-manager.users.ronja = import ../../home/ronja;
2025-01-02 01:14:41 +01:00
2025-01-05 17:46:32 +01:00
users.users.ronja.openssh.authorizedKeys.keys = [
];
}
{
}
];
2025-01-02 01:14:41 +01:00
}