9 Commits

Author SHA1 Message Date
1e46d42f27 remove stremio pacakge (insecure)
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m45s
2025-08-30 16:36:33 +02:00
7aef691ea2 update flake
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 9m35s
2025-08-28 23:39:10 +02:00
63d2538734 add localsend to laptop packages
Some checks failed
Build iso when a new version is pushed / test (push) Has been cancelled
2025-08-28 23:38:22 +02:00
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
8 changed files with 52 additions and 39 deletions

24
flake.lock generated
View File

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1754138575,
"narHash": "sha256-6foT7Sflve4XuLnBKkgN9b9IP4FvdoBA2XQ2IyXmbog=",
"lastModified": 1756353808,
"narHash": "sha256-JkCqOE0kjWbT7GnXgngL+baLF/OeeVfPCh71HXfRh6g=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "27c945a6450d42c62f7e41019d7931b426bb786f",
"rev": "e47914363ccacc95994b567966d7fa1e25dd85ec",
"type": "gitlab"
},
"original": {
@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1754085240,
"narHash": "sha256-kVHCrTWEe8B1thAhFag1bk4QPY0ZP45V9vPbrwPHoNo=",
"lastModified": 1756261190,
"narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e102920c1becb114645c6f92fe14edc0b05cc229",
"rev": "77f348da3176dc68b20a73dab94852a417daf361",
"type": "github"
},
"original": {
@ -44,11 +44,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1753122741,
"narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
"lastModified": 1756245047,
"narHash": "sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
"rev": "a65b650d6981e23edd1afa1f01eb942f19cdcbb7",
"type": "github"
},
"original": {
@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1753939845,
"narHash": "sha256-K2ViRJfdVGE8tpJejs8Qpvvejks1+A4GQej/lBk5y7I=",
"lastModified": 1756266583,
"narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "94def634a20494ee057c76998843c015909d6311",
"rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2",
"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

@ -36,9 +36,9 @@
};
home.packages = with pkgs; [
stremio
blender
wireshark
localsend
];
#mods.sync.syncedAdditions = ["VirtualBox VMs"];

View File

@ -1,14 +1,19 @@
{ ... }:
{
# services.picom = {
# backend = "xrender";
# settings = {
# blur = {
# method = "none";
# size = 0;
# deviation = 0.0;
# };
# };
# };
mods.game.enable = false;
mods.hyprland.enable = false;
mods.x11.enable = true;
programs.firefox.enable = false;
services.picom = {
backend = "xrender";
settings = {
blur = {
method = "none";
size = 0;
deviation = 0.0;
};
};
};
}

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/08/05 14:50:41 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,7 +50,7 @@
"module/filesystem" = {
type = "internal/fs";
mount-0 = "/home/tomoron";
mount-0 = config.mods.polybar.fspath;
interval = 10;
fixed-values = true;
format-mounted = "<label-mounted>";

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";