7 Commits

Author SHA1 Message Date
84bc2fd737 add usbmuxd on laptop
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m17s
2025-08-15 19:16:46 +02:00
f362997567 update flake, add alvr on laptop 2025-08-12 17:12:08 +02:00
ea4489732b remove config
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m24s
2025-08-11 17:47:52 +02:00
6c35b8fb99 fix typo in polybar module
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m31s
2025-08-07 15:30:14 +02:00
76702ea878 use x11 on vbox and add option to polybar module for fspath
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m25s
2025-08-07 15:27:08 +02:00
b261195413 fix 42header (deleted revision)
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m35s
2025-08-07 15:13:39 +02:00
6651ba444e add compiledb to packages fixes on vbox config
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m30s
2025-08-07 15:06:36 +02:00
10 changed files with 48 additions and 32 deletions

24
flake.lock generated
View File

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1754138575,
"narHash": "sha256-6foT7Sflve4XuLnBKkgN9b9IP4FvdoBA2XQ2IyXmbog=",
"lastModified": 1755002386,
"narHash": "sha256-5Q7o8nv1EQi7oYD1k1F8/d+3WUiNDg9JOH8KWgP/6WQ=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "27c945a6450d42c62f7e41019d7931b426bb786f",
"rev": "170f218715e93fc36a9077a926eb8516d789138b",
"type": "gitlab"
},
"original": {
@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1754085240,
"narHash": "sha256-kVHCrTWEe8B1thAhFag1bk4QPY0ZP45V9vPbrwPHoNo=",
"lastModified": 1754974548,
"narHash": "sha256-XMjUjKD/QRPcqUnmSDczSYdw46SilnG0+wkho654DFM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e102920c1becb114645c6f92fe14edc0b05cc229",
"rev": "27a26be51ff0162a8f67660239f9407dba68d7c5",
"type": "github"
},
"original": {
@ -44,11 +44,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1753122741,
"narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
"lastModified": 1754564048,
"narHash": "sha256-dz303vGuzWjzOPOaYkS9xSW+B93PSAJxvBd6CambXVA=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
"rev": "26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113",
"type": "github"
},
"original": {
@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1753939845,
"narHash": "sha256-K2ViRJfdVGE8tpJejs8Qpvvejks1+A4GQej/lBk5y7I=",
"lastModified": 1754725699,
"narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "94def634a20494ee057c76998843c015909d6311",
"rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"type": "github"
},
"original": {

View File

@ -12,6 +12,8 @@
mods.x11.enable = true;
programs.firefox.enable = false;
mods.polybar.fspath = "/home/tomoron";
mods.sync.homeFolder = "/home/tomoron/sync";
mods.sync.defaultSynced = false;
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];

View File

@ -1,6 +1,11 @@
{ ... }:
{
mods.game.enable = false;
mods.hyprland.enable = false;
mods.x11.enable = true;
programs.firefox.enable = false;
services.picom = {
backend = "xrender";
settings = {

View File

@ -93,7 +93,7 @@
#install stdheader 42
".config/nvim/plugin/stdheader.vim".source = "${builtins.fetchGit {
url = "https://github.com/42Paris/42header";
rev = "71e6a4df6d72ae87a080282bf45bb993da6146b2";
rev = "e6e6b191871545e0d43f1aad817070bc806b8fa7";
ref = "master";
}}/plugin/stdheader.vim";

View File

@ -6,13 +6,19 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/02/10 02:51:32 by tomoron #+# #+# #
# Updated: 2025/02/10 17:28:27 by tomoron ### ########.fr #
# Updated: 2025/08/07 15:30:07 by tomoron ### ########.fr #
# #
# **************************************************************************** #
{ lib, config, ... }:
{
options.mods.polybar.fspath = lib.mkOption {
type = lib.types.str;
default = "/";
description = "set the filesystem path for the remaining disk space";
};
config = lib.mkIf config.mods.x11.enable {
services.polybar.enable = true;
services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&";
@ -44,8 +50,8 @@
"module/filesystem" = {
type = "internal/fs";
mount-0 = "/";
interval = 30;
mount-0 = config.mods.polybar.fspath;
interval = 10;
fixed-values = true;
format-mounted = "<label-mounted>";
format-mounted-prefix = "󰋊";

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
# Updated: 2025/07/23 18:00:40 by tomoron ### ########.fr #
# Updated: 2025/08/04 15:38:21 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -43,5 +43,6 @@
libcaca
nasm
nerd-fonts.iosevka
compiledb
];
}

View File

@ -1 +0,0 @@
/nix/store/ffxpgsp8bpdfab8kd0vnlpappy5s65ag-home-manager-generation

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
# Updated: 2025/04/23 20:31:46 by tomoron ### ########.fr #
# Updated: 2025/08/07 17:46:37 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -46,7 +46,13 @@
users.users.tom = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "libvirtd" "dialout" "wireshark"];
extraGroups = [
"wheel" # can sudo
"docker" # can use docker
"libvirtd" # can use libvirtd
"dialout" # can use serial devices
"wireshark" # can use wireshask
];
initialPassword = "password";
};

View File

@ -81,17 +81,6 @@
hotplug_type = "None";
};
services.auto-cpufreq.enable = true;
services.auto-cpufreq.settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
services.upower.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization ];
@ -99,6 +88,11 @@
programs.wireshark.enable = true;
programs.wireshark.usbmon.enable = true;
programs.alvr.enable = true;
programs.alvr.openFirewall = true;
services.usbmuxd.enable = true;
# boot.plymouth = {
# enable = true;
# theme = "ycontre-glow";

View File

@ -1,6 +1,9 @@
{ config, lib, inputs, pkgs, ... }:
{ ... }:
{
virtualisation.virtualbox.guest.enable = true;
mods.nvidia-graphics.enable = false;
mods.virtualManager.enable = false;
mods.gayming.enable = false;
}