nix-config/hosts/nixedo/configuration.nix
Oliver Davies 54b43e4203
All checks were successful
/ check (push) Successful in 1m21s
Remove features
2025-05-03 16:50:27 +01:00

50 lines
942 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }:
{
imports = [
../common
./hardware-configuration.nix
./homelab.nix
./modules
./secrets.nix
./services
../../users/opdavies.nix
];
core.openssh.enable = true;
cli.podman.enable = true;
desktop.dconf.enable = true;
services.logind.lidSwitchExternalPower = "ignore";
boot.loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot.enable = true;
};
networking.networkmanager.enable = true;
users.users.opdavies.extraGroups = [ "media" ];
powerManagement.powertop.enable = true;
users.groups.media = { };
networking.firewall.allowedTCPPorts = [
80
443
];
environment.systemPackages = with pkgs; [
tree
vim
];
}