Files
NixConfigs/hosts/tito/configuration.nix

65 lines
1.3 KiB
Nix

{
config,
pkgs,
lib,
inputs,
username,
stylix,
...
}: {
imports = [
./hardware-configuration.nix
../../modules/nvidia.nix
../../modules/common.nix
../../modules/gnome.nix
inputs.sops-nix.nixosModules.sops
../../modules/protonvpn.nix
];
sops.defaultSopsFile = ../../secrets/secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/${username}/.config/sops/age/keys.txt";
networking = {
hostName = "tito";
networkmanager.enable = true;
};
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
chromium.enable = true;
};
virtualisation.docker.enable = true;
users.users.${username} = {
isNormalUser = true;
extraGroups = [
"networkmanager"
"wheel"
"audito"
"video"
"input"
"docker"
];
};
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/solarflare.yaml";
stylix.image = /home/jared/Pictures/tropea.jpg;
stylix.targets.gnome.enable = true;
stylix.cursor.package = pkgs.vimix-cursor-theme;
stylix.cursor.name = "Vimix-Cursors";
system.stateVersion = "23.11";
# ============= Maybe common ============= #
hardware.opengl = {
enable = true;
};
}