alteraçoes

This commit is contained in:
2026-04-19 15:21:29 -03:00
parent 8329531ac7
commit 9eee0ada24
29 changed files with 0 additions and 1644 deletions
-40
View File
@@ -1,40 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
services = {
displayManager.cosmic-greeter.enable = true;
desktopManager.cosmic.enable = true;
desktopManager.cosmic.xwayland.enable = true;
desktopManager.cosmic.showExcludedPkgsWarning = false;
system76-scheduler.enable = true;
};
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
environment.systemPackages = with pkgs; [
gnome-disk-utility
];
environment.cosmic.excludePackages = with pkgs; [
cosmic-files
cosmic-term
cosmic-player
cosmic-screenshot
];
programs.kdeconnect = {
enable = true;
};
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-cosmic];
config.common.default = "*";
};
programs.firefox.preferences = {
# disable libadwaita theming for Firefox
"widget.gtk.libadwaita-colors.enabled" = false;
};
imports = [
./thunar.nix
];
}
-47
View File
@@ -1,47 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
services = {
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
# Para desabilitar a instalação do conjunto de aplicativos do GNOME e ficar apenas com o shell do GNOME.
gnome.core-apps.enable = false;
gnome.core-developer-tools.enable = false;
gnome.games.enable = false;
udev.packages = [ pkgs.gnome-settings-daemon ];
};
environment.systemPackages = with pkgs; [
gnomeExtensions.blur-my-shell
gnomeExtensions.dash-to-dock
gnomeExtensions.just-perfection
gnomeExtensions.arc-menu
gnomeExtensions.appindicator
gnomeExtensions.valent
gnomeExtensions.forge
gnomeExtensions.clipboard-indicator
gnomeExtensions.media-controls
gnomeExtensions.sound-output-device-chooser
gnomeExtensions.quick-settings-audio-panel
xdg-desktop-portal-gnome
valent
gnome-tweaks
gnome-shell
gnome-extension-manager
refine
alacarte
dconf
];
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
programs.kdeconnect = {
enable = true;
package = pkgs.valent;
};
}
-11
View File
@@ -1,11 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
imports = [
#./cosmic.nix
#./gnome.nix
./kde.nix
#./niri/niri.nix
];
}
-36
View File
@@ -1,36 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## Ativar ambiente gráfico KDE Plasma 6 e gerenciador de login
services = {
desktopManager.plasma6.enable = true;
};
services.displayManager.plasma-login-manager = {
enable = true;
};
programs.kdeconnect.enable = true;
environment.systemPackages = with pkgs; [
kdePackages.partitionmanager
kdePackages.filelight
kdePackages.qtmultimedia
kdePackages.kcalc
kdePackages.sddm-kcm
kdePackages.wallpaper-engine-plugin
kdePackages.krdp
kdePackages.accounts-qt
];
environment.plasma6.excludePackages = with pkgs.kdePackages; [
plasma-browser-integration
# konsole
elisa
];
xdg.portal = {
enable = true;
extraPortals = [pkgs.kdePackages.xdg-desktop-portal-kde];
config.common.default = "*";
};
}
-40
View File
@@ -1,40 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
programs.dms-shell = {
enable = true;
package = inputs.dms.packages.${pkgs.stdenv.hostPlatform.system}.default;
#quickshell.package = inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
systemd = {
enable = true; # Systemd service for auto-start
restartIfChanged = true; # Auto-restart dms.service when dms-shell changes
};
plugins = {
dankBitwarden.enable = true;
dankKDEConnect.enable = true;
linuxWallpaperEngine.enable = true;
};
# Core features
enableSystemMonitoring = true; # System monitoring widgets (dgop)
enableVPN = true; # VPN management widget
enableDynamicTheming = true; # Wallpaper-based theming (matugen)
enableAudioWavelength = true; # Audio visualizer (cava)
enableCalendarEvents = false; # Calendar integration (khal)
};
imports = [
inputs.dms.nixosModules.dank-material-shell
inputs.dms-plugin-registry.modules.default
inputs.dms.nixosModules.greeter
];
}
-83
View File
@@ -1,83 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
imports = [
./thunar.nix
#./dms.nix
./noctalia.nix
];
services.dbus.enable = true;
security.polkit.enable = true;
systemd.user.services.niri-flake-polkit.enable = false;
programs.xwayland.enable = true;
programs.kdeconnect.enable = true;
services = {
greetd =
let
session = {
#command = "${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.niri}/bin/niri-session";
user = "gui";
};
in
{
enable = true;
settings = {
terminal.vt = 1;
default_session = session;
initial_session = session;
};
};
};
environment.systemPackages = with pkgs; [
dgop
];
#systemd.user.services.polkit-gnome-authentication-agent-1 = {
#description = "polkit-gnome-authentication-agent-1";
#wantedBy = [ "graphical-session.target" ];
#after = [ "graphical-session.target" ];
#serviceConfig = {
# Type = "simple";
# ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
# Restart = "on-failure";
# RestartSec = 1;
# TimeoutStopSec = 10;
#};
#};
xdg.portal = {
enable = true;
config = {
niri."org.freedesktop.impl.portal.FileChooser" = "gtk";
niri.default = "gnome";
common.default = "gnome";
obs.default = "gnome";
};
extraPortals = with pkgs; [
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
];
};
#dg.portal = {
# enable = true;
# extraPortals = [
# pkgs.xdg-desktop-portal-gnome
# pkgs.xdg-desktop-portal-gtk
# pkgs.xdg-desktop-portal-wlr
# ];
# config.common.default = "*1";
#};
}
-11
View File
@@ -1,11 +0,0 @@
{ pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
];
nix.settings = {
extra-substituters = [ "https://noctalia.cachix.org" ];
extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];
};
}
-21
View File
@@ -1,21 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
programs.xfconf.enable = true;
programs.thunar = {
enable = true;
plugins = with pkgs; [
thunar-archive-plugin
thunar-vcs-plugin
thunar-volman
];
};
services = {
gvfs.enable = true;
tumbler.enable = true;
};
}
-7
View File
@@ -1,7 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
imports = [
./pkgsconfig.nix
./pkgs.nix
];
}
-69
View File
@@ -1,69 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## Permitir pacotes não-livres
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
## Aplicativos sociais
bitwarden-desktop
sunshine
tailscale
## inputs
inputs.zen-browser.packages.${stdenv.hostPlatform.system}.default
inputs.shiru.packages.${pkgs.stdenv.hostPlatform.system}.default
## Utilitários do sistema e dev tools
nh
home-manager
vulkan-tools
vulkan-loader
vulkan-utility-libraries
gcc
ethtool
efibootmgr
docker-compose
distroshelf
distrobox
freerdp
dmidecode
i2c-tools
gitFull
kdePackages.partitionmanager
usbutils
openrgb
winetricks
#wineWowPackages.staging
wine
haguichi
logmein-hamachi
zerotierone
kdePackages.ark
loupe
lazygit
gnumake
onlyoffice-desktopeditors
adwaita-qt
adwaita-qt6
#winboat
xwayland-satellite
linux-wallpaperengine
#kdePackages.polkit-qt-1
kdePackages.krdp
cloudflared
## inputs stable
#inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system}
inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system}.winboat
];
programs.gpu-screen-recorder.enable = true;
services.logmein-hamachi.enable = true;
programs.haguichi.enable = true;
nixpkgs.config.permittedInsecurePackages = [
"electron-38.8.4"
];
}
-69
View File
@@ -1,69 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## configuraçao da steam
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
gamescope.enable = true;
gamemode.enable = true;
};
## Configuraçoes do obs
#programs.obs-studio = {
# enable = true;
# #optional Nvidia hardware acceleration
# package = (
# pkgs.obs-studio.override {
# cudaSupport = true;
# }
# );
# plugins = with pkgs.obs-studio-plugins; [
# wlrobs
# obs-pipewire-audio-capture
# obs-gstreamer
# obs-vkcapture
# ];
# #enableVirtualCamera = true;
#};
## Configuraçoes do LACT
environment.systemPackages = with pkgs; [lact];
systemd.services.lact = {
description = "GPU Control Daemon";
after = ["multi-user.target"];
wantedBy = ["multi-user.target"];
serviceConfig = {
ExecStart = "${pkgs.lact}/bin/lact daemon";
};
enable = true;
};
## Fontes
fonts.fontDir.enable = true;
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
nerd-fonts.ubuntu-mono
nerd-fonts.ubuntu-sans
nerd-fonts.dejavu-sans-mono
nerd-fonts.fira-code
nerd-fonts.overpass
noto-fonts
liberation_ttf
dejavu_fonts
];
## OpenRGB
services.hardware.openrgb = {
enable = true;
motherboard = "amd";
package = pkgs.openrgb-with-all-plugins; # enable all plugins
};
}
-72
View File
@@ -1,72 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## Configuração da internet
networking = {
networkmanager.enable = true;
interfaces.enp9s0.wakeOnLan.enable = true;
firewall.allowedTCPPorts = [ 22 ];
firewall.allowedUDPPorts = [
];
};
## Ativar Bluetooth
hardware.bluetooth.enable = true;
## Configuração de áudio
services = {
pulseaudio.enable = false;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
#jack.enable = true; # Descomente se usar aplicações JACK
};
};
security.rtkit.enable = true;
## Configuraçao de idioma
## Definir fuso horário
time.timeZone = "America/Bahia";
## Configurações de idioma e localidade
i18n = {
defaultLocale = "pt_BR.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "pt_BR.UTF-8";
LC_IDENTIFICATION = "pt_BR.UTF-8";
LC_MEASUREMENT = "pt_BR.UTF-8";
LC_MONETARY = "pt_BR.UTF-8";
LC_NAME = "pt_BR.UTF-8";
LC_NUMERIC = "pt_BR.UTF-8";
LC_PAPER = "pt_BR.UTF-8";
LC_TELEPHONE = "pt_BR.UTF-8";
LC_TIME = "pt_BR.UTF-8";
};
};
## Configurar layout do teclado no X11 e console
services.xserver.xkb = {
layout = "br";
variant = "";
};
console.keyMap = "br-abnt2";
## Alias do fish
programs.fish.shellAliases = {
# upd = "sudo nix flake update --flake /etc/nixos && sudo nixos-rebuild switch --flake path:/etc/nixos#Alfa";
upd = "nh home switch -a -u && nh os switch -a";
gitupdate = "git add . && git commit && git push origin main";
};
## Config do fish
programs.fish.enable = true;
programs.bash = {
interactiveShellInit =
'' if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi '';
};
}
-10
View File
@@ -1,10 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
imports = [
./cfsystem.nix
./nixhelper.nix
./nvidia.nix
./patchs.nix
./self-host.nix
];
}
-53
View File
@@ -1,53 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
programs = {
## nix-ld
nix-ld = {
enable = true;
libraries = with pkgs; [ ];
};
## nh
nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 8d --keep 7";
flake = "/etc/nixos"; # sets NH_OS_FLAKE variable for you
};
## appimage
appimage = {
enable = true;
binfmt = true;
};
## Cache
ccache.enable = true;
ccache.cacheDir = "/var/cache/ccache";
};
nix = {
settings = {
cores = 0;
max-jobs = "auto";
auto-optimise-store = true;
extra-sandbox-paths = [ "/var/cache/ccache" ];
## cache kernel
substituters = ["https://attic.xuyh0120.win/lantian"];
trusted-public-keys = ["lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="];
};
## Lix
package = pkgs.lixPackageSets.latest.lix;
## ativaçao do flakes
settings.experimental-features = ["nix-command" "flakes"];
nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
registry = lib.mapAttrs (_: value: {flake = value;}) (lib.filterAttrs (_: value: lib.isType "flake" value) inputs);
settings.flake-registry = "";
};
services = {
flatpak = {
enable = true;
};
};
}
-31
View File
@@ -1,31 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## Driver da nvidia proprietario
services.xserver.videoDrivers = [ "nvidia" ];
hardware = {
graphics.enable = true;
nvidia.open = false; ## Se sua placa for pascal pra cima troque isso para true
nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_580;
};
## Teste sobre o nvk nao recomendo usar
#services.xserver.videoDrivers = [ "nouveau" ];
#hardware.graphics = {
# enable = true;
# extraPackages = with pkgs; [
# mesa
# ];
#};
#hardware.enableRedistributableFirmware = true;
#environment.variables = {
# MESA_VK_DRIVER_OVERRIDE = "nvk";
# VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/nouveau_icd.x86_64.json";
#};
}
-104
View File
@@ -1,104 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## Variaveis de ambiente contendo o aumento de cache para placas da nvidia
environment.variables = {
__GL_SHADER_DISK_CACHE_SIZE = "12000000000";
VK_LAYER_PATH = "${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d";
};
## Configuraçoes de boot para otimzar o kernel e alguns patchs para nvidia
boot = {
modprobeConfig.enable = true;
kernelModules = [ "tcp_bbr" ];
extraModprobeConfig =
"options nvidia NVreg_UsePageAttributeTable=1 \
NVreg_InitializeSystemMemoryAllocations=0 \
NVreg_DynamicPowerManagement=0x02";
kernel.sysctl = {
"kernel.split_lock_mitigate" = 0;
"kernel.nmi_watchdog" = 0;
"net.core.netdev_max_backlog" = 4096;
"fs.file-max" = 2097152;
"net.ipv4.tcp_congestion_control" = "bbr";
};
};
services = {
earlyoom = {
enable = true;
freeSwapThreshold = 2;
freeMemThreshold = 2;
extraArgs = [
"-g" "--avoid" "'^(X|plasma.*|konsole|kwin|wayland|gnome.*)$'"
];
};
## Otimizaçao do Udev para placas de Video da Nvidia
udev = {
enable = true;
extraRules = ''
# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
ACTION=="add|bind", SUBSYSTEM=="pci", DRIVERS=="nvidia", \
ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
TEST=="power/control", ATTR{power/control}="auto"
# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
ACTION=="remove|unbind", SUBSYSTEM=="pci", DRIVERS=="nvidia", \
ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
TEST=="power/control", ATTR{power/control}="on"
'';
};
preload-ng = {
enable = true;
settings = {
cycle = 15;
memTotal = -5;
memFree = 70;
memCached = 10;
memBuffers = 50;
minSize = 1000000;
processes = 60;
sortStrategy = 0;
autoSave = 1800;
mapPrefix = "/nix/store/;/run/current-system/;!/";
exePrefix = "/nix/store/;/run/current-system/;!/";
};
};
};
systemd.services.set-min-free-mem = {
description = "Set vm.min_free_kbytes dynamically";
wantedBy = [ "multi-user.target" ];
after = [ "local-fs.target" ];
serviceConfig = {
User = "root";
RemainAfterExit = true;
};
script = ''
TOTAL_MEM=$(${pkgs.gawk}/bin/awk '/MemTotal/ {printf "%.0f", $2 * 0.01}' /proc/meminfo)
if [ -z "$TOTAL_MEM" ] || [ "$TOTAL_MEM" -eq 0 ]; then
echo "Failed to calculate memory size" >&2
exit 1
fi
${pkgs.sysctl}/bin/sysctl -w vm.min_free_kbytes=$TOTAL_MEM
'';
};
## sistema de compressao compressao brtfs
fileSystems = {
"/" = {
options = [ "compress=zstd:3" ];
};
};
## confiuraçao da zram
zramSwap = {
enable = true;
memoryPercent = 40;
algorithm = "zstd";
};
}
-51
View File
@@ -1,51 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## tailscale
services.tailscale = {
enable = true;
extraUpFlags = [ "--exit-node=100.121.29.98" "--exit-node-allow-lan-access=true" "--ssh" "--accept-dns=true" ];
};
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 47984 47989 48910 ];
allowedUDPPortRanges = [
{ from = 47998; to = 48000; }
{ from = 48002; to = 48010; }
];
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
## Configuraçao de Docker
boot.kernel.sysctl = {
"net.ipv4.ip_unprivileged_port_start" = 53;
"net.ipv6.conf.all.forwarding" = true;
};
users.users.gui.extraGroups = [ "docker" ];
users.groups.docker.gid = 131;
virtualisation.docker = {
enable = true;
#rootless = {
# enable = true;
# setSocketVariable = true;
#};
};
services.openssh = {
enable = true;
};
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
}
-8
View File
@@ -1,8 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
imports = [
./configs/imp.nix
./DE/impde.nix
./Pkgs/imp_pkgs.nix
];
}
-42
View File
@@ -1,42 +0,0 @@
{config, lib, inputs, pkgs, ... }: {
## starship
programs.starship = {
enable = true;
settings = lib.importTOML "${config.programs.starship.package}/share/starship/presets/nerd-font-symbols.toml";
enableFishIntegration = true;
};
## Configuraçao Git
programs.git.settings = {
enable = true;
user.email = "darkgui@protonmail.com";
user.name = "DarkGui";
credential.helper = "store";
};
## Pacotes extras
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
## Fish
fishPlugins.done
fishPlugins.fzf-fish
fishPlugins.forgit
fishPlugins.hydro
fzf
fishPlugins.grc
grc
## Fontes
nerd-fonts.jetbrains-mono
nerd-fonts.ubuntu-mono
nerd-fonts.ubuntu-sans
nerd-fonts.dejavu-sans-mono
nerd-fonts.fira-code
nerd-fonts.overpass
noto-fonts
liberation_ttf
dejavu_fonts
];
}
-8
View File
@@ -1,8 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
imports = [
./configs/cfhome.nix
./kitty/kitty.nix
./pkgs/pkgs.nix
];
}
-69
View File
@@ -1,69 +0,0 @@
include ./theme.conf
wayland_enable_ime no
font_size 10
underline_exclusion 0
cursor_shape beam
cursor_blink_interval 0.3
cursor_trail 3
cursor_trail_decay 0.1 0.4
scrollback_lines 5000
scrollback_pager_history_size 100
show_hyperlink_targets yes
repaint_delay 15
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style slanted
tab_bar_align left
tab_bar_min_tabs 1
active_tab_font_style normal
enabled_layouts fat:bias=60,stack
window_margin_width 2.5
window_border_width 1
draw_minimal_borders no
background_opacity 0.9
allow_remote_control yes
map alt+f5 load_config_file
map alt+minus resize_window narrower
map alt+underline resize_window shorter
map ctrl+alt+minus change_font_size all -0.5
map alt+equal resize_window wider
map alt+plus resize_window taller
map ctrl+alt+equal change_font_size all +0.5
map alt+q close_window_with_confirmation ignore-shell
map alt+shift+q close_tab
map alt+r set_window_title
map alt+shift+r set_tab_title
map alt+u scroll_line_up
map alt+shift+u scroll_to_prompt -1
map alt+p previous_tab
map alt+shift+p detach_window tab-left
map alt+d scroll_line_down
map alt+shift+d scroll_to_prompt 1
map alt+h neighboring_window left
map alt+shift+h move_window left
map alt+j neighboring_window bottom
map alt+shift+j move_window bottom
map alt+k neighboring_window top
map alt+shift+k move_window top
map alt+l neighboring_window right
map alt+shift+l move_window right
map alt+z toggle_layout stack
map ctrl+c copy_or_interrupt
map ctrl+v paste_from_clipboard
map alt+n next_tab
map alt+shift+n detach_window tab-right
map alt+t new_window
map alt+shift+t new_tab
# TODO: detach window to tab-left, and if tab-left doesn't exist create it
-16
View File
@@ -1,16 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
options.mods.kitty = {
enable = lib.mkEnableOption "Enable Kitty.";
};
config = lib.mkIf config.mods.kitty.enable {
programs.kitty = {
enable = true;
extraConfig = "include ${config.mods.flakePath}/conf/HM/kitty/kitty.conf";
settings.clear_all_shortcuts = "yes";
};
};
}
-37
View File
@@ -1,37 +0,0 @@
cursor #f4dbe2
cursor_text_color background
url_color #eec6e9
url_style dotted
active_border_color #f4dbe2
inactive_border_color #121622
bell_border_color #efd286
active_tab_foreground #f4dbe2
active_tab_background #121622
inactive_tab_foreground #aeb8d4
inactive_tab_background #060810
foreground #ced4e6
background #060810
transparent_background_colors #121622 #1c2232 #272d41 #313950 #46516f
selection_foreground none
selection_background #46516f
color0 #121622
color1 #ea8f80
color2 #6ac27f
color3 #c7a84d
color4 #92a8eb
color5 #db8ad4
color6 #52bcce
color7 #aeb8d4
color8 #7683a8
color9 #f5b3a7
color10 #7ae092
color11 #e5c25f
color12 #b3c4f5
color13 #eaafe4
color14 #6bd8ea
color15 #ced4e6
-66
View File
@@ -1,66 +0,0 @@
{ config, lib, inputs, pkgs, ... }: {
## pacotes home-manager
home.packages = with pkgs; [
## aplicativos sociais
telegram-desktop
pear-desktop
stoat-desktop
teams-for-linux
#(discord.override {withVencord = true;})
(discord.override {withEquicord = true;})
jellyfin-desktop
## Jogos
lutris
faugus-launcher
heroic
prismlauncher
steam
adwsteamgtk
ryubing
xclicker
#mangojuice
goverlay
mangohud
protonplus
hydralauncher
lsfg-vk
lsfg-vk-ui
## Utilitários do sistema e dev tools
fastfetch
flameshot
#handbrake
easyeffects
qbittorrent
cpu-x
git
btop-cuda
vscodium
flatpak
wget
kitty
vlc
tree
python314
unrar
droidcam
motrix
mission-center
nodejs
lxappearance
nwg-look
#rustdesk
anydesk
libargon2
openssl_oqs
## Dev
];
nixpkgs.config.permittedInsecurePackages = [
"electron-38.8.4"
];
}
-59
View File
@@ -1,59 +0,0 @@
{ config, lib, inputs, pkgs, ... }:
{
imports =
[ # Importa a configuração de hardware detectada
./hardware-configuration.nix
./conf/GM/imp.nix
];
## Configuração do bootloader
boot = {
#kernelPackages = pkgs.linuxPackages_latest;
#kernelPackages = pkgs.linuxPackages_cachyos;
kernelPackages = inputs.nix-cachyos-kernel.legacyPackages.x86_64-linux.linuxPackages-cachyos-latest-lto-x86_64-v3;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.configurationLimit = 10;
};
networking.hostName = "Alfa"; # Defina o nome da sua máquina
services = {
xserver.enable = false; # Ativar sistema gráfico X11
printing.enable = false;
};
## Definição do usuário normal
users.users.gui = {
isNormalUser = true;
description = "Gui";
extraGroups = [ "networkmanager" "wheel"];
packages = with pkgs; [ ];
};
## sudo-rs
security = {
sudo.enable = false;
sudo-rs = {
enable = true;
execWheelOnly = true;
wheelNeedsPassword = true;
};
};
system.stateVersion = "25.11"; # versao do nix
networking = {
networkmanager.enable = true;
interfaces.enp9s0.wakeOnLan.enable = true;
firewall.allowedTCPPorts = [ ];
firewall.allowedUDPPorts = [
];
};
services = {
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "gui";
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}
-421
View File
@@ -1,421 +0,0 @@
{
"nodes": {
"aagl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1774186997,
"narHash": "sha256-hyNVlhAqmwcBPl7XRkxbGcMt1BfCOdvuEfBDUf0k8Oo=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "546e95f7ec74892a31f883a10b1723c35f2c2edd",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"cachyos-kernel": {
"flake": false,
"locked": {
"lastModified": 1775145950,
"narHash": "sha256-AfVja9nvYHm0BHbuTvn+K8rKfLmPl5QjoiNecp9HOJU=",
"owner": "CachyOS",
"repo": "linux-cachyos",
"rev": "b91624f68ceaf5394ef1571f60290dca6ba22b45",
"type": "github"
},
"original": {
"owner": "CachyOS",
"repo": "linux-cachyos",
"type": "github"
}
},
"cachyos-kernel-patches": {
"flake": false,
"locked": {
"lastModified": 1775157685,
"narHash": "sha256-g8HgH7gADoEnrBN30BK3pz7+M2pT/p3xtfRFEuEov5w=",
"owner": "CachyOS",
"repo": "kernel-patches",
"rev": "c1ba300617a12d257b5721572b9bbe28efae182f",
"type": "github"
},
"original": {
"owner": "CachyOS",
"repo": "kernel-patches",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1775360939,
"narHash": "sha256-XUBlSgUFdvTh6+K5LcI5mJu5F5L8scmJDMRiZM484TM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2097a5c82bdc099c6135eae4b111b78124604554",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1774991950,
"narHash": "sha256-kScKj3qJDIWuN9/6PMmgy5esrTUkYinrO5VvILik/zw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f2d3e04e278422c7379e067e323734f3e8c585a7",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nix-cachyos-kernel": {
"inputs": {
"cachyos-kernel": "cachyos-kernel",
"cachyos-kernel-patches": "cachyos-kernel-patches",
"flake-compat": "flake-compat_2",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1775412159,
"narHash": "sha256-217zU2fKzIgcn9qht9MvvHDOgywnAZ0vFsYFg+c80oE=",
"owner": "xddxdd",
"repo": "nix-cachyos-kernel",
"rev": "98d1a70e3c0c14d23bc6ef395110664e1221daf4",
"type": "github"
},
"original": {
"owner": "xddxdd",
"repo": "nix-cachyos-kernel",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1770841267,
"narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1774748309,
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1775423271,
"narHash": "sha256-9NcwIfuqcI3DyIfKe18ZNPx/PoPI372IRH0rpAIVBT8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7fc6bbc546b1276d04884047bd6bfecd9d73a823",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1775002709,
"narHash": "sha256-d3Yx83vSrN+2z/loBh4mJpyRqr9aAJqlke4TkpFmRJA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bcd464ccd2a1a7cd09aa2f8d4ffba83b761b1d0e",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1744536153,
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1775371993,
"narHash": "sha256-shlcgEOzW6rl7zmZeYBMP9EpF3O/cTL7/HpWlyqearw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ff2af6f7ebc6c123603d5689aeea6461290f46b5",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1775403759,
"narHash": "sha256-cGyKiTspHEUx3QwAnV3RfyT+VOXhHLs+NEr17HU34Wo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5e11f7acce6c3469bef9df154d78534fa7ae8b6c",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1775036866,
"narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6201e203d09599479a3b3450ed24fa81537ebc4e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"preload-ng": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1768356181,
"narHash": "sha256-lYx273nqNC1EslejL/yvf+ZJK+yApeUckibbpTyzxoM=",
"owner": "miguel-b-p",
"repo": "preload-ng",
"rev": "b2274bfa70f86c649ba4bddd5fd21c82ffccebe3",
"type": "github"
},
"original": {
"owner": "miguel-b-p",
"repo": "preload-ng",
"type": "github"
}
},
"root": {
"inputs": {
"aagl": "aagl",
"home-manager": "home-manager",
"nix-cachyos-kernel": "nix-cachyos-kernel",
"nixpkgs": "nixpkgs_4",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable",
"preload-ng": "preload-ng",
"shiru": "shiru",
"zen-browser": "zen-browser"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1770952264,
"narHash": "sha256-CjymNrJZWBtpavyuTkfPVPaZkwzIzGaf0E/3WgcwM14=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "ec6a3d5cdf14bb5a1dd03652bd3f6351004d2188",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"shiru": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1774927919,
"narHash": "sha256-QRUCdfC6/pRhOo1wqd1mhHep6PvJQXBMTw4IskIEAF8=",
"owner": "darkguibrine",
"repo": "shiru-nix",
"rev": "2cd2c57f3cc97a33136090cf7a0721fee4ba5e36",
"type": "github"
},
"original": {
"owner": "darkguibrine",
"repo": "shiru-nix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1775367672,
"narHash": "sha256-nGC6qrRsWysfR7/8wsSooq0X71rfJjhq1b+dFI6oQtY=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "33cd729244914f1e121477c5de148639c5e73c4a",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
-69
View File
@@ -1,69 +0,0 @@
{
description = "A very basic flake";
inputs = {
#nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-master.url = "github:nixos/nixpkgs";
preload-ng.url = "github:miguel-b-p/preload-ng";
#chaotic.url = "github:lonerOrz/nyx-loner";
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel";
aagl.url = "github:ezKEa/aagl-gtk-on-nix";
home-manager = {
url = "github:nix-community/home-manager/";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
shiru = {
url = "github:darkguibrine/shiru-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
#noctalia = {
# url = "github:noctalia-dev/noctalia-shell";
# inputs.nixpkgs.follows = "nixpkgs";
#};
#dms.url = "github:AvengeMedia/DankMaterialShell";
#niri.url = "github:sodiboo/niri-flake";
#}
#dms-plugin-registry = {
# url = "github:AvengeMedia/dms-plugin-registry";
# inputs.nixpkgs.follows = "nixpkgs";
#};
#quickshell = {
# url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
# inputs.nixpkgs.follows = "nixpkgs";
#};
};
outputs = {self ,nixpkgs ,nixpkgs-stable ,nixpkgs-master ,home-manager ,zen-browser ,shiru ,preload-ng ,nix-cachyos-kernel ,aagl , ...} @ inputs: {
nixosConfigurations = {
"Alfa" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
preload-ng.nixosModules.default
#niri.nixosModules.niri
#sops-nix.nixosModules.sops
{services.preload-ng.enable = true;}
#chaotic.nixosModules.default
{imports = [ aagl.nixosModules.default ];
nix.settings = aagl.nixConfig;
programs.anime-game-launcher.enable = true;
programs.sleepy-launcher.enable = true;
}
];
};
};
homeConfigurations."gui@Alfa" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [
./home.nix
];
};
};
}
-37
View File
@@ -1,37 +0,0 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/adaa7917-2996-4cf5-9664-4832b1fc200b";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C5F0-5261";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/f82f33f6-2446-47b7-a612-e3ef776919bd";
fsType = "xfs";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
-57
View File
@@ -1,57 +0,0 @@
{pkgs, config, lib, ...}: {
imports = [
./conf/HM/imp.nix
{options.mods = {flakePath = lib.mkOption {type = lib.types.str; default = lib.mkError "Option 'mods.flakePath' must be explicitly set."; description = "The absolute path of this flake. Must be explicitly set.";};};}
];
home = {
username = "gui";
homeDirectory = "/home/gui";
stateVersion = "25.11";
};
programs = {
home-manager.enable = true;
fish.enable = true;
};
nixpkgs.config.allowUnfree = true;
mods = {
kitty.enable = true;
flakePath = "/etc/nixos";
};
#gtk = {
# enable = true;
# theme = {
# name = "Adwaita-dark";
# package = pkgs.gnome-themes-extra;
# };
# cursorTheme = {
# name = "Adwaita";
# # package = pkgs.Adwaita-awcursors;
# };
# gtk3.extraConfig = {
# gtk-application-prefer-dark-theme = 1;
# "gtk-cursor-theme-name" = "Adwaita";
# };
# gtk4.extraConfig = {
# gtk-application-prefer-dark-theme = 1;
# Settings = ''gtk-cursor-theme-name=Adwaita'';
# };
#};
#
#qt = {
# enable = true;
# style = {
# name = "adwaita-dark";
# };
#};
#
#xdg.configFile."gtk-3.0/settings.ini".force = true;
#xdg.configFile."gtk-4.0/settings.ini".force = true;
}