chore(deck): update nixpkgs for nixvim and add user tools

Pin nixvim to nixos-26.05 by updating its nixpkgs input.
Configure time zone and disable automatic-timezoned service for the deck profile.
Add numerous CLI and GUI tools for the deck user via home-manager modules.
Include direnv setup and a desktop shortcut for returning to Gaming Mode.
Update home.stateVersion and set EDITOR/VISUAL variables.
This commit is contained in:
2026-09-20 23:18:34 -04:00
parent d357a41f0d
commit 6af189248e
4 changed files with 68 additions and 7 deletions
Generated
+17 -3
View File
@@ -823,6 +823,22 @@
"type": "github"
}
},
"nixpkgs_11": {
"locked": {
"lastModified": 1789542786,
"narHash": "sha256-ajQuqcxnj6RYnwCjA/9FTCnrdR2+BDzstE8UembXf60=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4c7870105e7f1fdf9c48688c8d7efc21abf0688a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1786534138,
@@ -950,9 +966,7 @@
"nixvim": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs": "nixpkgs_11",
"systems": "systems_6"
},
"locked": {
+1 -1
View File
@@ -39,7 +39,7 @@
sops.inputs.nixpkgs.follows = "nixpkgs";
nixvim.url = "github:nix-community/nixvim/nixos-26.05";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
# nixvim.inputs.nixpkgs.follows = "nixpkgs";
zen-browser.url = "github:youwen5/zen-browser-flake";
zen-browser.inputs.nixpkgs.follows = "nixpkgs";
+3 -1
View File
@@ -47,6 +47,8 @@
})
];
time.timeZone = "America/New_York";
security.rtkit.enable = true; # était fourni par ton module bluetooth
boot.loader.systemd-boot = {
@@ -67,7 +69,7 @@
programs.zsh.enable = true; # requis par users.nix
services.openssh.enable = true;
services.automatic-timezoned.enable = true;
services.automatic-timezoned.enable = false;
systemd.sleep.settings.Sleep = {
AllowSuspend = false;
+47 -2
View File
@@ -1,17 +1,62 @@
{inputs, ...}: {
{
inputs,
pkgs,
...
}: {
imports = [
inputs.nixvim.homeModules.default
inputs.sops.homeManagerModules.sops
../marc/packages.nix
# CLI, aucun impact sur la session
../../modules/home/git
../../modules/home/zsh
../../modules/home/ssh
../../modules/home/neovim
../../modules/home/starship
../../modules/home/neovim
../../modules/home/tealdeer
../../modules/home/gh
../../modules/home/topgrade
../../modules/home/rbw
../../modules/home/yt-dlp
../../modules/home/pgcli
# ../../modules/home/geminicommit
../../modules/home/claude-commit
../../modules/home/tewi
../../modules/home/ytui-music
# GUI en simple paquet : utile en Desktop Mode, inerte en Gaming Mode
../../modules/home/kitty
../../modules/home/alacritty
../../modules/home/mpv
../../modules/home/zathura
../../modules/home/zen-browser
];
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
# spécifique deck, n'a rien à faire dans home.nix
home.file."Desktop/return-to-gaming-mode.desktop" = {
executable = true;
text = ''
[Desktop Entry]
Name=Return to Gaming Mode
Exec=steamos-session-select gamescope
Icon=steam
Terminal=false
Type=Application
'';
};
home = {
username = "marc";
homeDirectory = "/home/marc";
stateVersion = "25.11";
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";