11 Commits

Author SHA1 Message Date
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
c766b08973 remove full home config from iso
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 2m41s
2025-07-16 20:07:12 +02:00
27ca179697 update flake, sort system and home packages
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 7m42s
2025-07-15 16:12:16 +02:00
66b67b9b03 set kvmfr size to 128mb and change cleanup makefile rule
Some checks failed
Build iso when a new version is pushed / test (push) Has been cancelled
2025-07-15 12:37:05 +02:00
116e81d080 change specialisation name, blacklist xpad when in vfio mode
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 17m4s
2025-07-12 18:15:24 +02:00
e64579832a fix typo on laptop config
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 18m35s
2025-07-12 16:57:03 +02:00
11e350751a repair usb redirection on libvirt
Some checks failed
Build iso when a new version is pushed / test (push) Has been cancelled
2025-07-12 16:54:59 +02:00
d86380c995 add pin shortcut and add kvm windows gpu passthrough support in a specialisation config on laptop
Some checks failed
Build iso when a new version is pushed / test (push) Has been cancelled
2025-07-12 16:52:43 +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
10 changed files with 96 additions and 68 deletions

View File

@ -1,7 +1,7 @@
HOST ?= $(file < /etc/nixosFlakeName)
THREADS ?= $(shell nproc)
FLAKE ?= .
MODE = boot
MODE ?= boot
FLAGS = --impure --cores $(THREADS) -j $(THREADS)
@ -22,4 +22,5 @@ iso :
rm -rf result
cleanup :
sudo nix-collect-garbage -d
sudo nix-collect-garbage -d --delete-older-than 1d
nix-store --optimize -vv

24
flake.lock generated
View File

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1750651402,
"narHash": "sha256-mT97WT4FlJyvfWp7rso3tUZca0qKU46czyi/HBJHG4w=",
"lastModified": 1753070653,
"narHash": "sha256-vp4Svdpb90eEYkUKxjVROgcJ92u/2sVF8hnpsiKJEhI=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "13fa5e2e89062281dee88508f97e93360bfe2e2d",
"rev": "87f5912350a5bac28eacc1b89bb1767ca1a77e7e",
"type": "gitlab"
},
"original": {
@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1750690749,
"narHash": "sha256-x6fRPeqdgDKVTCyvbp4J8Q5UQ3DV3oWYSoyM444N8cY=",
"lastModified": 1753056897,
"narHash": "sha256-AVVMBFcuOXqIgmShvRv9TED3fkiZhQ0ZvlhsPoFfkNE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "05b8c9506452349d8be854ac46e5a7630fa7917d",
"rev": "13a83d1b6545b7f0e8f7689bad62e7a3b1d63771",
"type": "github"
},
"original": {
@ -44,11 +44,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1750431636,
"narHash": "sha256-vnzzBDbCGvInmfn2ijC4HsIY/3W1CWbwS/YQoFgdgPg=",
"lastModified": 1753122741,
"narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "1552a9f4513f3f0ceedcf90320e48d3d47165712",
"rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
"type": "github"
},
"original": {
@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1750506804,
"narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=",
"lastModified": 1752950548,
"narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4206c4cb56751df534751b058295ea61357bbbaa",
"rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
"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,7 @@
mods.x11.enable = true;
programs.firefox.enable = false;
mods.sync.homeFolder = "/sgoinfre/goinfre/Perso/tomoron";
mods.sync.homeFolder = "/home/tomoron/sync";
mods.sync.defaultSynced = false;
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
mods.sync.customHostName = "pc42";

View File

@ -18,6 +18,7 @@
"CTRL_ALT, Q, killactive,"
"SUPER_ALT, Q, exit,"
"$mainMod, S, togglefloating,"
"$mainMod, I, pin,"
"$mainMod, D, exec, rofi -show drun -show-icons"
"$mainMod, M, fullscreen, 1"
"$mainMod, F, fullscreen, 0"

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
# Updated: 2025/04/15 15:58:07 by tomoron ### ########.fr #
# Updated: 2025/07/23 18:00:40 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -14,22 +14,34 @@
{
home.packages = with pkgs;[
ripgrep
activate-linux
unison
brightnessctl
playerctl
python3
vlc
lrzip
pigz
htop
gnumake
git
neofetch
clang
ninja
gdb
valgrind
wget
cmake
man-pages
stress
ffmpeg-full
ripgrep
activate-linux
unison
brightnessctl
playerctl
python3
vlc
nix-index
dunst
yubikey-manager
bibata-cursors
libcaca
nasm
nerd-fonts.iosevka
nix-index
yubikey-manager
yubico-pam
dunst
bibata-cursors
libcaca
nasm
];
}

View File

@ -13,13 +13,13 @@
services.getty.autologinUser = lib.mkForce "tom";
services.getty.helpLine = lib.mkForce "";
programs.hyprland.enable = true;
# programs.hyprland.enable = true;
home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
home-manager.users.tom = {
imports = [
../../homeConfigs/home.nix
../../homeConfigs/hosts/iso.nix
];
};
# home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
# home-manager.users.tom = {
# imports = [
# ../../homeConfigs/home.nix
# ../../homeConfigs/hosts/iso.nix
# ];
# };
}

View File

@ -5,13 +5,42 @@
boot.initrd.luks.devices.cryptroot.allowDiscards = true;
mods.displayManager.enable = true;
mods.virtualmanager.enable = false;
mods.virtualManager.enable = false;
networking.firewall.enable = false;
networking.hostName = "patate-douce";
networking.wireless.enable = true;
networking.networkmanager.enable = false;
specialisation.vfio_ready.configuration = {
boot.kernel.sysctl."vm.nr_hugepages" = 5120;
boot.extraModulePackages = with config.boot.kernelPackages; [ kvmfr ];
boot.kernelModules = [ "kvmfr" ];
boot.extraModprobeConfig = ''
options kvmfr static_size_mb=128
blacklist xpad
'';
virtualisation.libvirtd.qemu.verbatimConfig = ''
cgroup_device_acl = [
"/dev/kvmfr0", "/dev/null", "/dev/full", "/dev/zero",
"/dev/random", "/dev/urandom",
"/dev/ptmx", "/dev/kvm",
"/dev/rtc","/dev/hpet",
"/dev/input/by-id/[some_mouse_device]-event-mouse",
"/dev/input/by-id/[some_keyboard_device]-event-kbd"
]
'';
services.udev.extraRules = ''
SUBSYSTEM=="kvmfr", OWNER="tom", GROUP="kvm", MODE="0660"
'';
environment.systemPackages = with pkgs; [ looking-glass-client ];
};
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.runAsRoot = true;
virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ];
networking.dhcpcd.enable = false;
systemd.network.enable = true;
networking.useNetworkd = true;

View File

@ -12,5 +12,8 @@
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.runAsRoot = true;
virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ];
virtualisation.spiceUSBRedirection.enable = true;
environment.systemPackages = with pkgs; [ spice-gtk ];
};
}

View File

@ -2,31 +2,13 @@
{
environment.systemPackages = with pkgs; [
lrzip
home-manager
vim
pciutils
pigz
htop
gnumake
git
neofetch
neovim
ntfs3g
clang
ninja
gdb
valgrind
wget
cmake
usbutils
man-pages
stress
cryptsetup
acpi
dconf
ffmpeg-full
nv-codec-headers
home-manager
vim
pciutils
usbutils
ntfs3g
cryptsetup
acpi
yubico-pam
];
}