13 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
093ac9c011 set supergfxd config in nix files, change ly config, update flake
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m38s
2025-08-06 00:26:52 +02:00
d6ca7ba793 update flake
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m27s
2025-07-30 18:52:08 +02:00
17e3fc6a9e Merge branch 'new-42-homes'
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m40s
2025-07-29 12:55:09 +02:00
0da22649eb move nerdfont.iosevka to home config (broken in os config)
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 3m0s
2025-07-23 18:02:45 +02:00
f14bc8c082 update flake and remove duplicate neovim
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m31s
2025-07-21 23:00:41 +02:00
34e087b815 change home location
Some checks are pending
Build iso when a new version is pushed / test (push) Waiting to run
2025-04-09 16:50:26 +02:00
13 changed files with 69 additions and 35 deletions

24
flake.lock generated
View File

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1752552209,
"narHash": "sha256-qOU0Ntz0rczB8mtAXgrYywkeMGNOUZ7K1llhkXZ5IRE=",
"lastModified": 1755002386,
"narHash": "sha256-5Q7o8nv1EQi7oYD1k1F8/d+3WUiNDg9JOH8KWgP/6WQ=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "a8e97c23cc97670e4ec9ab9fa43faf2585678de2",
"rev": "170f218715e93fc36a9077a926eb8516d789138b",
"type": "gitlab"
},
"original": {
@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1752467539,
"narHash": "sha256-4kaR+xmng9YPASckfvIgl5flF/1nAZOplM+Wp9I5SMI=",
"lastModified": 1754974548,
"narHash": "sha256-XMjUjKD/QRPcqUnmSDczSYdw46SilnG0+wkho654DFM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1e54837569e0b80797c47be4720fab19e0db1616",
"rev": "27a26be51ff0162a8f67660239f9407dba68d7c5",
"type": "github"
},
"original": {
@ -44,11 +44,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1752048960,
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=",
"lastModified": 1754564048,
"narHash": "sha256-dz303vGuzWjzOPOaYkS9xSW+B93PSAJxvBd6CambXVA=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806",
"rev": "26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113",
"type": "github"
},
"original": {
@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1752480373,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
"lastModified": 1754725699,
"narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
"rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054",
"type": "github"
},
"original": {

View File

@ -76,7 +76,7 @@
homeConfigurations = {
vbox = homeConfig { flakeName = "vbox"; };
ft = homeConfig { flakeName = "ft"; username = "tomoron"; homeDir = "/nfs/homes/tomoron";};
ft = homeConfig { flakeName = "ft"; username = "tomoron"; homeDir = "/home/tomoron";};
laptop = homeConfig { flakeName = "laptop"; };
desktop = homeConfig { flakeName = "desktop"; };
server = homeConfig { flakeName = "server"; };

View File

@ -12,7 +12,9 @@
mods.x11.enable = true;
programs.firefox.enable = false;
mods.sync.homeFolder = "/sgoinfre/goinfre/Perso/tomoron";
mods.polybar.fspath = "/home/tomoron";
mods.sync.homeFolder = "/home/tomoron/sync";
mods.sync.defaultSynced = false;
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
mods.sync.customHostName = "pc42";

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/15 16:10:34 by tomoron ### ########.fr #
# Updated: 2025/08/04 15:38:21 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -20,7 +20,6 @@
gnumake
git
neofetch
neovim
clang
ninja
gdb
@ -43,5 +42,7 @@
bibata-cursors
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

@ -65,17 +65,22 @@
#power management
powerManagement.enable = true;
powerManagement.cpuFreqGovernor = "powersave";
services.auto-cpufreq.enable = true;
services.auto-cpufreq.settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
services.asusd = {
enable = true;
enableUserService = true;
};
services.supergfxd.enable = true;
services.supergfxd.settings = {
mode = "Integrated";
vfio_enable = true;
vfio_save = true;
always_reboot = false;
no_logind = true;
logout_timeout_s = 180;
hotplug_type = "None";
};
services.upower.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization ];
@ -83,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;
}

View File

@ -12,6 +12,9 @@
services.displayManager.ly.enable = true;
services.displayManager.ly.settings =
{
animation = "doom";
min_refresh_delta = 50;
bigclock = "en";
sleep_cmd = "systemctl sleep";
asterisk = "A";
auth_fails= 3;

View File

@ -9,7 +9,6 @@
ntfs3g
cryptsetup
acpi
nerd-fonts.iosevka
yubico-pam
];
}