ADD: various things ...

This commit is contained in:
L0m1g 2025-09-22 08:25:42 +02:00
parent b11dd2ed72
commit 8800c09ffb
5 changed files with 65 additions and 18 deletions

42
flake.lock generated
View file

@ -28,11 +28,11 @@
]
},
"locked": {
"lastModified": 1758119172,
"narHash": "sha256-LnVuGLf0PJHqqIHroxEzwXS57mjAdHSrXi0iODKbbiU=",
"lastModified": 1758375677,
"narHash": "sha256-BLtD+6qWz7fQjPk2wpwyXQLGI0E30Ikgf2ppn2nVadI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9f408dc51c8e8216a94379e6356bdadbe8b4fef9",
"rev": "edc7468e12be92e926847cb02418e649b02b59dd",
"type": "github"
},
"original": {
@ -48,11 +48,11 @@
]
},
"locked": {
"lastModified": 1757808926,
"narHash": "sha256-K6PEI5PYY94TVMH0mX3MbZNYFme7oNRKml/85BpRRAo=",
"lastModified": 1758313341,
"narHash": "sha256-SsI6INUzWwPcRKRaxvi50RttnD9rcC4EjV+67TOEfrQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f21d9167782c086a33ad53e2311854a8f13c281e",
"rev": "6f656618ebc71ca82d93d306a8aecb2c5f6f2ab2",
"type": "github"
},
"original": {
@ -64,11 +64,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1757745802,
"narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=",
"lastModified": 1758277210,
"narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1",
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e",
"type": "github"
},
"original": {
@ -80,11 +80,19 @@
},
"nixpkgs-stable": {
"locked": {
<<<<<<< HEAD
"lastModified": 1758070117,
"narHash": "sha256-uLwwHFCZnT1c3N3biVe/0hCkag2GSrf9+M56+Okf+WY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e9b7f2ff62b35f711568b1f0866243c7c302028d",
=======
"lastModified": 1758346548,
"narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20",
>>>>>>> 7f80ed4 (ADD: various things ...)
"type": "github"
},
"original": {
@ -96,11 +104,19 @@
},
"nixpkgs-unstable": {
"locked": {
<<<<<<< HEAD
"lastModified": 1758098782,
"narHash": "sha256-sX+iNoZkgSQsnsCHO6aI7mYh2GqbYDLWMB0iN41i61k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5874893c92e656c85dc729e8b570fc38d3c85853",
=======
"lastModified": 1758395428,
"narHash": "sha256-VPLAH58pBb+6qHXKy/RbJi0jedJ14atDh3r5VNB1uNk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2e894638a7716cb1161a1084e04af88d98684855",
>>>>>>> 7f80ed4 (ADD: various things ...)
"type": "github"
},
"original": {
@ -116,11 +132,19 @@
"nixpkgs": "nixpkgs"
},
"locked": {
<<<<<<< HEAD
"lastModified": 1758144108,
"narHash": "sha256-fq/Fd89pUrdVcFmw8aNVQoF9UPq7L5gtS/0ioPTUNKg=",
"owner": "nix-community",
"repo": "NUR",
"rev": "47a4f8514d9aecd033d53a84f698a115b3074f2b",
=======
"lastModified": 1758450341,
"narHash": "sha256-0kaTYX6B3c1oY1PmOnv4eJAEaKHA/tfK1ay/YNnX2cc=",
"owner": "nix-community",
"repo": "NUR",
"rev": "b1fb458916c940a2a47e4f01f24129c719d53343",
>>>>>>> 7f80ed4 (ADD: various things ...)
"type": "github"
},
"original": {

View file

@ -6,6 +6,8 @@
settings = {
"intl.locale.requested" = "fr" ;
"intl.accept_languages" = "fr, en-US, en";
"layers.acceleration.disabled" = true ;
"gfx.webrender.all" = false ;
"privacy.trackingprotection.enabled" = true ;
"privacy.resistFingerprinting" = true ;
"network.cookie.cookieBehavior" = 1;

View file

@ -7,7 +7,8 @@
home.packages = with pkgs; [
bspwm sxhkd xorg.xinit xterm alacritty rofi feh font-awesome
picom xorg.xset xidlehook betterlockscreen pywal16 imagemagick
pulsemixer ranger jq file highlight unzip
pulsemixer ranger jq file highlight unzip mpv
protonvpn-gui
];
# Gère le ssh-agent proprement côté user
@ -22,7 +23,7 @@
"sxhkd -m 1"
"setxkbmap bepovim"
"xrandr --output DisplayPort-1 --rate 60 --pos 0x0"
"while pgrep -x polybar >/dev/null; do sleep 1; done; polybar main"
# "while pgrep -x polybar >/dev/null; do sleep 1; done; polybar main"
"bash ~/.fehbg"
];
@ -34,13 +35,13 @@
'';
};
xsession.initExtra = ''
xset s 300 300
xset s on
xset s noblank
xset +dpms
xset dpms 0 0 500
'';
# xsession.initExtra = ''
# xset s 300 300
# xset s on
# xset s noblank
# xset +dpms
# xset dpms 0 0 500
# '';
services.sxhkd = {
enable = true;
@ -146,5 +147,23 @@
};
};
};
programs.rtorrent = {
enable = true ;
extraConfig = ''
directory = /srv/raid
port_range = 6881-6891
max_peers = 150
max_peers_seed = 100
protocol.pex.set = true ;
schedule = watch_directory,5,5,load.start=~/Téléchargements/*.torrent
pieces.hash.on_completion.set = no
network.max_open_files.set = 8192
session = /home/lomig/.cache/rtorrent/session
'';
};
home.activation.createRtorrentSessionDir = lib.hm.dag.entryAfter ["writeBoundary"] ''
mkdir -p ~/.cache/rtorrent/session
'';
}

View file

@ -4,5 +4,6 @@ _: {
nameservers = ["1.1.1.1" "8.8.8.8"];
dhcpcd.extraConfig = "nohook resolv.conf";
firewall.enable = true;
interfaces.enp11s0.wakeOnLan.enable = true ;
};
}

View file

@ -29,5 +29,6 @@
glances
parted
tmux
discord
];
}