c'est le bordel un peu

This commit is contained in:
Amaury JOLY
2026-06-07 17:10:46 +02:00
parent b4f7205dce
commit 33ec89cd08
18 changed files with 731 additions and 42 deletions

View File

@@ -2,16 +2,24 @@
# Description: Enables X11 with i3 window manager and associated desktop tools
# Services: xserver with i3
# Packages: alacritty (terminal), tint2 (panel), rofi (launcher), i3lock, dunst
{pkgs, ...}: let
{
pkgs,
customConfig,
...
}: let
updatescreen = pkgs.writeShellScript "updatescreens.sh" ''
#!/bin/sh
i3-msg restart
feh --bg-fill --no-xinerama Downloads/fire1.png
'';
in {
services.xserver = {
enable = true;
windowManager.i3.enable = true;
windowManager.i3 = {
enable = true;
configFile = "/etc/nixos/dotconfig/i3/config";
};
autorun = true;
};
@@ -29,6 +37,7 @@ in {
IdleActionSec = "15min";
HandleLidSwitch = "suspend";
HandlePowerSwitch = "ignore";
};
services.picom = {
@@ -64,6 +73,17 @@ in {
};
};
home-manager.users.${customConfig.username} = {
services.polybar = {
enable = true;
script = "/etc/nixos/dotconfig/polybar/start.sh";
package = pkgs.polybar.override {
i3Support = true;
pulseSupport = true;
};
};
};
environment.systemPackages = with pkgs; [
alacritty
maim
@@ -71,7 +91,6 @@ in {
dunst
dex
rofi
polybarFull
oh-my-posh
playerctl
zscroll