Initial commit

This commit is contained in:
Artyom Belousov 2026-01-13 15:34:28 +03:00 committed by Артём Белоусов
commit b79d352847
37 changed files with 2191 additions and 0 deletions

60
nixos/desktop.nix Normal file
View file

@ -0,0 +1,60 @@
{
config,
lib,
pkgs,
...
}:
{
options = {
custom.desktop.enable = lib.mkEnableOption "Enable desktop config";
};
config = lib.mkIf config.custom.desktop.enable {
networking = {
networkmanager.enable = true;
firewall =
let
qbittorrentPort = 12613;
in
{
allowedTCPPorts = [ qbittorrentPort ];
allowedUDPPorts = [ qbittorrentPort ];
};
};
users.users.flygrounder.extraGroups = [
"networkmanager"
];
services = {
pulseaudio.enable = false;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
greetd.enable = true;
flatpak.enable = true;
trezord.enable = true;
};
security.rtkit.enable = true;
programs = {
regreet = {
enable = true;
theme.name = "Adwaita-dark";
};
hyprland.enable = true;
steam.enable = true;
amnezia-vpn.enable = true;
};
nixpkgs.config.allowUnfree = true;
fonts.packages = with pkgs; [
roboto
font-awesome
font-awesome_6
nerd-fonts.fira-code
];
};
}