changes on main pc

This commit is contained in:
afoucaultc 2026-07-05 20:10:11 +02:00
parent 60ebe96728
commit 2ef8eba58a
20 changed files with 155 additions and 84 deletions

View file

@ -9,5 +9,4 @@
configurationLimit = 10;
};
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.luks.devices."luks-5f5524e7-c2c0-4cbd-91f2-37b8fe69a62c".device = "/dev/disk/by-uuid/5f5524e7-c2c0-4cbd-91f2-37b8fe69a62c";
}

View file

@ -5,7 +5,6 @@
enable = true;
package = pkgs.mullvad-vpn;
};
# ── Steam ──
programs.steam = {
enable = true;
@ -17,21 +16,12 @@
enable = true;
capSysNice = true;
};
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
# ── VirtualBox (Oracle) ──
# virtualisation.virtualbox.host = {
# enable = true;
# enableExtensionPack = true;
# };
# users.extraGroups.vboxusers.members = [ "afoucaultc" ];
# ── Intégration KDE/Dolphin ──
# ── Intégration KDE/Dolphin ──
services.gvfs.enable = true;
services.tumbler.enable = true;
environment.sessionVariables = {

View file

@ -1,25 +1,37 @@
{ config, pkgs, ... }:
{
{ config, pkgs, ... }: {
fonts.packages = with pkgs; [
# Sans / Source (adobe-source-*-fonts, source-han-sans)
source-sans
source-serif
source-han-sans # adobe-source-han-sans-otc-fonts
source-han-serif
# Noto + emoji + CJK (noto-fonts-cjk, noto-fonts-emoji)
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
# Microsoft / Windows (ttf-ms-fonts + corefonts)
corefonts
b612
vista-fonts # tahoma, etc. (unfree)
# Latin Modern / TeX Gyre (otf-latin-modern, tex-gyre-math)
lmodern
gyre-fonts
# Accessibilité (ttf-luciole)
texlivePackages.luciole
# Nerd fonts / symboles (ttf-nerd-fonts-symbols, font-awesome, woff2-font-awesome)
nerd-fonts.symbols-only
nerd-fonts.adwaita-mono
nerd-fonts.cousine
font-awesome
# Fontes de code utiles
fira-code
jetbrains-mono
dejavu_fonts
liberation_ttf
font-awesome
texlivePackages.luciole
];
}

View file

@ -5,19 +5,11 @@
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
# Portails XDG (captures d'écran, partage d'écran, file pickers sous Wayland)
# Portails XDG (captures d'écran, partage d'écran, file pickers Wayland)
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
security.polkit.enable = true;
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://hyprland.cachix.org" ];
trusted-substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
trusted-users = [ "root" "@wheel" ];
};
}

View file

@ -0,0 +1,30 @@
{ pkgs, ... }:
{
stylix = {
enable = true;
targets.gtksourceview.enable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/solarized-dark.yaml";
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "Noto Sans Mono";
};
sansSerif = {
package = pkgs.texlivePackages.luciole;
name = "Luciole";
};
sizes = {
applications = 11;
terminal = 12;
};
};
polarity = "dark";
};
}

View file

@ -6,6 +6,18 @@
gnumake
gcc
wget
curl
unzip
tree
ripgrep
translate-shell
xclip
powertop
brightnessctl
ntfs3g
pciutls
usbutils
inxi
];
}

View file

@ -13,5 +13,6 @@
};
printing.enable = true;
openssh.enable = false;
flatpak.enable = true;
};
}

View file

@ -10,9 +10,10 @@
./config/fonts.nix
./config/hyprland.nix
./config/language.nix
./config/noctalia.nix
#./config/noctalia.nix
./config/power_management.nix
./config/sound.nix
./config/stylix.nix
./config/system_packages.nix
./config/system_saves.nix
./config/system_services.nix

View file

@ -19,6 +19,7 @@
};
boot.initrd.luks.devices."luks-eddcceff-290e-478d-baef-3fdc0f47a220".device = "/dev/disk/by-uuid/eddcceff-290e-478d-baef-3fdc0f47a220";
boot.initrd.luks.devices."luks-5f5524e7-c2c0-4cbd-91f2-37b8fe69a62c".device = "/dev/disk/by-uuid/5f5524e7-c2c0-4cbd-91f2-37b8fe69a62c";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2A23-C86E";

View file

@ -5,11 +5,9 @@
enable = true;
package = pkgs.mullvad-vpn;
};
# ── Intégration gestionnaire de fichiers (miniatures, montage…) ──
services.gvfs.enable = true;
services.tumbler.enable = true;
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};

View file

@ -1,26 +1,23 @@
{ config, pkgs, ... }:
{
# Outils système / build essentiels (équiv. base-devel, git, etc.).
# Les applis graphiques utilisateur sont dans home-manager (home/).
environment.systemPackages = with pkgs; [
# base / build
git vim gnumake gcc wget curl unzip tree
# CLI utiles présents dans ta liste pacman
btop # btop
fastfetch # fastfetch
ripgrep # ripgrep
tmux # tmux
translate-shell # translate-shell
xclip # xclip
wl-clipboard # wl-clipboard
pass # pass
bitwarden-cli # (bitwarden : GUI côté user, CLI ici)
powertop # powertop
brightnessctl # brightnessctl
ntfs3g # ntfs-3g
pciutils usbutils inxi # inxi + diagnostics
gnupg
pinentry-curses
git
vim
gnumake
gcc
wget
curl
unzip
tree
ripgrep
translate-shell
xclip
powertop
brightnessctl
ntfs3g
pciutils
usbutils
inxi
];
}