NixOS-Config/nixos/hosts/EDI/configuration.nix

69 lines
1.7 KiB
Nix
Raw Normal View History

2023-10-23 17:15:54 +02:00
# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
# You can import other NixOS modules here
imports = [
# Import home-manager's NixOS module
inputs.home-manager.nixosModules.home-manager
2023-10-23 17:15:54 +02:00
# If you want to use modules your own flake exports (from modules/nixos):
# outputs.nixosModules.example
# Or modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
# You can also split up your configuration and import pieces of it here:
# ./users.nix
2024-02-07 13:50:03 +01:00
../../desktop
2023-10-23 17:15:54 +02:00
# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix
];
home-manager = {
2023-10-27 13:59:34 +02:00
extraSpecialArgs = {inherit inputs outputs;};
users = {
# Import your home-manager configuration
2024-02-07 13:50:03 +01:00
lillian = import ../../../home-manager/hosts/EDI;
};
};
2024-02-06 13:31:04 +01:00
environment.systemPackages = with pkgs; [
2024-02-06 15:13:04 +01:00
podman
podman-compose
2024-02-06 13:31:04 +01:00
];
2024-02-06 15:13:04 +01:00
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
2023-10-23 17:15:54 +02:00
networking.hostName = "EDI";
2024-02-03 17:50:32 +01:00
boot.bootspec.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.supportedFilesystems = ["bcachefs"];
boot = {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
2024-01-09 11:59:30 +01:00
# Enable bluetooth hardware
hardware.bluetooth.enable = true;
2024-02-06 14:29:39 +01:00
users.users.lillian.extraGroups = ["docker"];
2023-10-23 17:15:54 +02:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "unstable";
2023-10-23 17:15:54 +02:00
}