Update periodico

This commit is contained in:
DarkGui
2025-09-23 14:51:08 -03:00
parent ac3653c8ab
commit ea9346a268
14 changed files with 316 additions and 86 deletions
+4 -2
View File
@@ -1,8 +1,10 @@
{ config, lib, inputs, pkgs, ... }: {
## Ativar ambiente gráfico KDE Plasma 6 e gerenciador de login SDDM
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
services = {
displayManager.sddm.enable = true;
desktopManager.plasma6.enable = true;
};
programs.kdeconnect.enable = true;
}
+2 -2
View File
@@ -13,7 +13,7 @@
};
## Configuração do gerenciador nix
#nix.package = pkgs.lixPackageSets.latest.lix;
nix.package = inputs.nixpkgs-master.legacyPackages.${pkgs.system}.lix;
nix.package = pkgs.lixPackageSets.latest.lix;
#nix.package = inputs.nixpkgs-master.legacyPackages.${pkgs.system}.lix;
}
+6 -6
View File
@@ -1,10 +1,10 @@
{ config, lib, inputs, pkgs, ... }: {
## Configuração do driver NVIDIA
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = false;
#hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
hardware = {
graphics.enable = true;
nvidia.open = false;
nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
#nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
};
}
+4 -3
View File
@@ -14,8 +14,9 @@
"steam-run"
];
## patch jogos
programs.gamescope.enable = true;
programs.gamemode.enable = true;
programs = {
gamescope.enable = true;
gamemode.enable = true;
};
}
+3
View File
@@ -35,6 +35,9 @@
distroshelf
freerdp
kdePackages.krfb
dmidecode
inputs.winboat.packages.x86_64-linux.default
gitFull
## repositorio 25.05
inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.vulkan-tools
+2 -1
View File
@@ -22,12 +22,13 @@
cpu-x
git
btop-cuda
vscode
vscodium
flatpak
appimage-run
wget
lact
kitty
vlc
];
}
+11
View File
@@ -0,0 +1,11 @@
{pkgs, config, lib, ...}: {
programs.git = {
enable = true;
userName = "DarkGui";
userEmail = "guihermando13@gmail.com";
extraConfig = {
credential.helper = "store";
};
};
}
+10 -12
View File
@@ -1,15 +1,14 @@
{ config, lib, inputs, pkgs, ... }: {
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
# Para desabilitar a instalação do conjunto de aplicativos do GNOME
# e ficar apenas com o shell do GNOME.
services.gnome.core-apps.enable = false;
services.gnome.core-developer-tools.enable = false;
services.gnome.games.enable = false;
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
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
@@ -27,7 +26,7 @@
alacarte
nautilus
];
services.udev.packages = [ pkgs.gnome-settings-daemon ];
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
qt = {
enable = true;
@@ -39,6 +38,5 @@
enable = true;
package = pkgs.valent;
};
}
+1 -1
View File
@@ -2,7 +2,7 @@ include ./theme.conf
wayland_enable_ime no
font_size 7.5
font_size 10
underline_exclusion 0
cursor_shape beam
+13 -11
View File
@@ -5,19 +5,25 @@
./hardware-configuration.nix
./imp.nix
];
## Configuração do bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 10;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
#boot.kernelPackages = pkgs.linuxPackages_cachyos; # Kernel customizado
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_cachyos-gcc;
boot.kernelPackages = pkgs.linuxPackages_cachyos; # Kernel customizado
#boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_cachyos-gcc;
#boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "Alfa"; # Defina o nome da sua máquina
services.xserver.enable = true; # Ativar sistema gráfico X11
services = {
xserver.enable = false; # Ativar sistema gráfico X11
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "gui";
};
## Definição do usuário normal
users.users.gui = {
@@ -30,10 +36,6 @@
];
};
## Habilitar login automático para o usuário "gui"
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "gui";
system.stateVersion = "25.05"; # versao do nix
security.sudo.package = pkgs.sudo.override {withInsults = true;}; ## errou sudo xingando
Generated
+191 -35
View File
@@ -1,19 +1,39 @@
{
"nodes": {
"aagl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1758557465,
"narHash": "sha256-SeDqOZQoARl/xxEMdej09IScCf77SEQfRAjED7lBgMY=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "944f9903859ad16db762fbe573fb6f05f7367e16",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"chaotic": {
"inputs": {
"flake-schemas": "flake-schemas",
"home-manager": "home-manager",
"jovian": "jovian",
"nixpkgs": "nixpkgs",
"rust-overlay": "rust-overlay"
"nixpkgs": "nixpkgs_3",
"rust-overlay": "rust-overlay_2"
},
"locked": {
"lastModified": 1758033778,
"narHash": "sha256-oQH2wLOWLFHXT3NE+gcsFOX+Pq40bKjlOH1xw0wcmT8=",
"lastModified": 1758642505,
"narHash": "sha256-056XfEHlYdBKU2RtN4R+9m2nzL588TCZ8AsIviWONRg=",
"owner": "chaotic-cx",
"repo": "nyx",
"rev": "b3efa297b9c6a9e55a44f3b6905d55f80738704f",
"rev": "0fe60fa161631289a051fef36dfaab28465ddc7b",
"type": "github"
},
"original": {
@@ -23,6 +43,22 @@
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@@ -58,6 +94,24 @@
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz"
}
},
"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": [
@@ -66,11 +120,11 @@
]
},
"locked": {
"lastModified": 1757920978,
"narHash": "sha256-Mv16aegXLulgyDunijP6SPFJNm8lSXb2w3Q0X+vZ9TY=",
"lastModified": 1758464306,
"narHash": "sha256-i56XRXqjwJRdVYmpzVUQ0ktqBBHqNzQHQMQvFRF/acQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "11cc5449c50e0e5b785be3dfcb88245232633eb8",
"rev": "939e91e1cff1f99736c5b02529658218ed819a2a",
"type": "github"
},
"original": {
@@ -86,11 +140,11 @@
]
},
"locked": {
"lastModified": 1758288820,
"narHash": "sha256-ubyO7Ly6NSFN5GgNTEuoIavBFMZOMcRchSTIXiDVtAI=",
"lastModified": 1758648381,
"narHash": "sha256-/rp5KlIAH3OxRxS3jbyEAz5gK9l2vvHNEK+TVOjvYJ0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e38751933802481b37fee1f9251cbb86e63df381",
"rev": "5468c92a2350ca76e15ee6617a083c0e6ce7ade7",
"type": "github"
},
"original": {
@@ -167,15 +221,15 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1758029758,
"narHash": "sha256-fKqsvznISxVSBo6aaiGGXMRiBG4IIuV3sSySxx80pcQ=",
"owner": "PedroHLC",
"lastModified": 1758277210,
"narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4eb5897225c3d7e78a0b9d1542197ee7c8d270a5",
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e",
"type": "github"
},
"original": {
"owner": "NixOS",
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
@@ -183,11 +237,11 @@
},
"nixpkgs-master": {
"locked": {
"lastModified": 1758294315,
"narHash": "sha256-H+C4c+jKCZpSJHODHFaY6b2ciB3Hv00V5QKA7yUVtis=",
"lastModified": 1758648169,
"narHash": "sha256-fLoIGEcw4mYHGhqCnnTGQxcyvUwYE9k3i0i0KnUm70c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "90ade7da38aa49c2e2693a04a44662a0e61530e9",
"rev": "0a0ca83a9589213c9ffb28e242bb1456773629fd",
"type": "github"
},
"original": {
@@ -198,11 +252,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1758216857,
"narHash": "sha256-h1BW2y7CY4LI9w61R02wPaOYfmYo82FyRqHIwukQ6SY=",
"lastModified": 1758346548,
"narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d2ed99647a4b195f0bcc440f76edfa10aeb3b743",
"rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20",
"type": "github"
},
"original": {
@@ -214,11 +268,43 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1758198701,
"narHash": "sha256-7To75JlpekfUmdkUZewnT6MoBANS0XVypW6kjUOXQwc=",
"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": 1758633633,
"narHash": "sha256-20FVSEcXWV0P1A/1EDMUH7UVFvktg/ltBNqHJmoQTO8=",
"owner": "PedroHLC",
"repo": "nixpkgs",
"rev": "36740bcdb7ea5625132575da3c627032b812c236",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1758427187,
"narHash": "sha256-pHpxZ/IyCwoTQPtFIAG2QaxuSm8jWzrzBGjwQZIttJc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0147c2f1d54b30b5dd6d4a8c8542e8d7edf93b5d",
"rev": "554be6495561ff07b6c724047bdd7e0716aa7b46",
"type": "github"
},
"original": {
@@ -228,6 +314,22 @@
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1756787288,
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": "flake-parts",
@@ -236,11 +338,11 @@
]
},
"locked": {
"lastModified": 1758273929,
"narHash": "sha256-8ZhQaoeWOcCpe14PLgJ7ZEhWFFISA2qcVuXTGlNZGgU=",
"lastModified": 1758648600,
"narHash": "sha256-2+9rHquPi4uU4XsBW5AaLiQydhXASoXmdGSaMwzUWs0=",
"owner": "nix-community",
"repo": "NUR",
"rev": "2d644af21cc32d53594b9d17fa167c4eec6431cd",
"rev": "5485cb562f16cc5c92ec0046620c7eaf5fe31f8d",
"type": "github"
},
"original": {
@@ -251,16 +353,36 @@
},
"root": {
"inputs": {
"aagl": "aagl",
"chaotic": "chaotic",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_4",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable",
"nur": "nur",
"winboat": "winboat",
"zen-browser": "zen-browser"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1758508617,
"narHash": "sha256-kx2uELmVnAbiekj/YFfWR26OXqXedImkhe2ocnbumTA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "d2bac276ac7e669a1f09c48614538a37e3eb6d0f",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"rust-overlay_2": {
"inputs": {
"nixpkgs": [
"chaotic",
@@ -268,11 +390,11 @@
]
},
"locked": {
"lastModified": 1757930296,
"narHash": "sha256-Z9u5VszKs8rfEvg2AsFucWEjl7wMtAln9l1b78cfBh4=",
"lastModified": 1758422215,
"narHash": "sha256-JvF5SXhp1wBHbfEVAWgJCDVSO8iknfDqXfqMch5YWg0=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "09442765a05c2ca617c20ed68d9613da92a2d96b",
"rev": "6f3988eb5885f1e2efa874a480d91de09a7f9f0b",
"type": "github"
},
"original": {
@@ -281,6 +403,40 @@
"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"
}
},
"winboat": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1758641699,
"narHash": "sha256-l73zmxPSOZfpC2QgVjtziikdQmNL1KF0KrvcdJyo/J4=",
"owner": "TibixDev",
"repo": "winboat",
"rev": "1dc8c00f3920848a17ea32ed27bc7cf327b8132f",
"type": "github"
},
"original": {
"owner": "TibixDev",
"repo": "winboat",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_3",
@@ -289,11 +445,11 @@
]
},
"locked": {
"lastModified": 1758255782,
"narHash": "sha256-uBjTUcpb+P1nMoj0jDfIavNPJ3zkGmatvvxU2TTHSXQ=",
"lastModified": 1758601360,
"narHash": "sha256-pvkHU7dAKt4kFXWsIz9PyJiZCJkiO3wR2xPRccPwsfc=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "ef8fb5704a9aa2845d95ef36b5250a57fb6d5bd6",
"rev": "a3a511b4d7a2f1d729a10e97fd7cb038a41adbd4",
"type": "github"
},
"original": {
+9 -3
View File
@@ -5,6 +5,8 @@
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-master.url = "github:nixos/nixpkgs";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
aagl.url = "github:ezKEa/aagl-gtk-on-nix";
winboat.url = "github:TibixDev/winboat";
home-manager = {
url = "github:nix-community/home-manager/";
inputs.nixpkgs.follows = "nixpkgs";
@@ -17,9 +19,8 @@
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self,nixpkgs,nixpkgs-stable,nixpkgs-master,home-manager,chaotic, zen-browser,nur, ...} @ inputs: {
outputs = { self,nixpkgs,nixpkgs-stable,nixpkgs-master,home-manager,chaotic, zen-browser,nur, aagl, winboat, ...} @ inputs: {
nixosConfigurations = {
"Alfa" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@@ -28,12 +29,17 @@
./configuration.nix
chaotic.nixosModules.default
nur.modules.nixos.default
{imports = [ aagl.nixosModules.default ];
nix.settings = aagl.nixConfig; # Set up Cachix
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 ];
};
};
};
}
+42
View File
@@ -0,0 +1,42 @@
{ 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/bdb15ce1-a247-49b4-ace1-db03465126d9";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A804-6A44";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/3039cdad-74f0-4343-970f-ae9882c39474";
fsType = "ext4";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp9s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+18 -10
View File
@@ -1,16 +1,29 @@
{pkgs, config, ...}: {
{pkgs, config, lib, ...}: {
imports = [
./conf/Fontes/fontes.nix
./conf/Pkgs/pkgshome.nix
./conf/kitty/kitty.nix
./conf/git/git.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";
home.homeDirectory = "/home/gui";
mods = {
kitty.enable = true;
flakePath = "/etc/nixos";
};
home = {
username = "gui";
homeDirectory = "/home/gui";
stateVersion = "25.11";
};
programs = {
home-manager.enable = true;
fish.enable = true;
};
programs.home-manager.enable = true;
programs.fish.enable = true;
nixpkgs.config.allowUnfree = true;
## config gnome
@@ -18,9 +31,4 @@
# enable = true;
# settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
#};
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "25.11";
}