Compare commits

..

13 Commits

Author SHA1 Message Date
3646963fd9 fix zfs 2026-05-12 15:06:00 +02:00
8920dadd4b Auto update 2026-05-11 04:00:40 +00:00
811b1d67b0 clean tmp on boot
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 34s
2026-05-07 17:44:55 +02:00
76c0ad8beb nextcloud use direct ip (cloudflare limitation), make update no auto rebuild 2026-05-07 13:30:03 +02:00
9de6978c8a Auto update 2026-05-04 04:01:33 +00:00
1c715564ac fix evaluation warnings (build broken openldap test fails)
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 38s
2026-04-27 14:26:37 +02:00
a60b6aeeec Auto update 2026-04-27 04:01:18 +00:00
835e726c6c add exraflags option on Makefile, fix yubikey support on systemd stage 1
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 24s
2026-04-25 21:46:49 +02:00
bf592c5e9d add alvr and remove nix-alien 2026-04-23 17:44:33 +02:00
983f51b0f3 Auto update 2026-04-23 15:42:18 +00:00
c95443f8b8 auto update push rights 2026-04-23 17:40:49 +02:00
14eaa9b5f8 add maunal update trigger 2026-04-23 17:29:38 +02:00
64ee797c97 add autoupdate (test probably broken) 2026-04-23 17:28:23 +02:00
10 changed files with 52 additions and 42 deletions

View File

@ -1,8 +1,13 @@
name: update the nix flake lock automatically every week name: update the nix flake lock automatically every week
run-name: update run-name: update
permissions:
contents: write
on: on:
schedule: schedule:
- cron: "0 4 * * 1" - cron: "0 4 * * 1"
workflow_dispatch:
jobs: jobs:
update: update:
@ -16,3 +21,11 @@ jobs:
- name: run the update - name: run the update
run: nix flake update run: nix flake update
- name: Commit and push
run: |
git config user.name "Update action"
git config user.email "update-action@no-one.com"
git add .
git commit -m "Auto update"
git push

View File

@ -4,7 +4,8 @@ FLAKE ?= .
MODE ?= switch MODE ?= switch
FLAGS = --impure --cores $(THREADS) -j $(THREADS) EXTRAFLAGS ?=
FLAGS = --impure --cores $(THREADS) -j $(THREADS) $(EXTRAFLAGS)
ifdef OFFLINE ifdef OFFLINE
FLAGS += --option binary-caches '' FLAGS += --option binary-caches ''
@ -14,7 +15,6 @@ all: os home
update: update:
cd $(FLAKE);nix flake update cd $(FLAKE);nix flake update
$(MAKE) all
os: os:
sudo nixos-rebuild $(MODE) $(FLAGS) --flake $(FLAKE)#$(HOST) sudo nixos-rebuild $(MODE) $(FLAGS) --flake $(FLAKE)#$(HOST)

42
flake.lock generated
View File

@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1775994227, "lastModified": 1778406663,
"narHash": "sha256-4VKeWtl9dEubrgpy9fSXkXbjBZlNXPNlQQM5l1ppHv4=", "narHash": "sha256-jGOtlDJAe0MFoOErIxSFs3TQZ7WaCpUt1qnjJ0HhLfw=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "d0a9a21ed8e235956a768fc624242ec9a3e15575", "rev": "a0fa2f1b901473d8aefb2e3026396e3562c1782c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -26,11 +26,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1776139376, "lastModified": 1778385775,
"narHash": "sha256-rBykvCL5GRT6VmiY39XnxAR10cohBsLeAENP0+3JM/0=", "narHash": "sha256-n0MUvWA2SML/qBB4hpShQ7i+i961MX4oPtaQfYo0+uU=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "ccfaa2303117e22752bda4e1a1bb07d17f38ea2d", "rev": "268324916742a48cd03b94fd63f2822d6b66d519",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -47,11 +47,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776136611, "lastModified": 1778444552,
"narHash": "sha256-b2pu3Pb28W0bJzQVP3OJHZC5+dgOOeqjlli2WVakKEU=", "narHash": "sha256-f18pIiR9q/p1vHY93gmAum7aHhQOG49oGvAB9+lptRo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8a423e444b17dde406097328604a64fc7429e34e", "rev": "dcebe66f958673729896eec2de4abfd86ef22d21",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -62,11 +62,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1775490113, "lastModified": 1778143761,
"narHash": "sha256-2ZBhDNZZwYkRmefK5XLOusCJHnoeKkoN95hoSGgMxWM=", "narHash": "sha256-lkesY6x2X2qxlqLM7CT2iM/0rP2JB7fruPN3h8POXmI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "c775c2772ba56e906cbeb4e0b2db19079ef11ff7", "rev": "3bcaa367d4c550d687a17ac792fd5cda214ee871",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -78,11 +78,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1775423009, "lastModified": 1777954456,
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=", "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9", "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -94,11 +94,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1775710090, "lastModified": 1777954456,
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4c1018dae018162ec878d42fec712642d214fdfa", "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -125,11 +125,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1776119890, "lastModified": 1777944972,
"narHash": "sha256-Zm6bxLNnEOYuS/SzrAGsYuXSwk3cbkRQZY0fJnk8a5M=", "narHash": "sha256-VfGRo1qTBKOe3s2gOv8LSoA6Fk19PvBlwQ1ECN0Evn8=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "d4971dd58c6627bfee52a1ad4237637c0a2fb0cd", "rev": "c591bf665727040c6cc5cb409079acb22dcce33c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -5,7 +5,7 @@
programs.rclone.remotes.nextcloud = { programs.rclone.remotes.nextcloud = {
config = { config = {
type = "webdav"; type = "webdav";
url = "https://nc.tmoron.fr/remote.php/dav/files/tom"; url = "https://dnc.tmoron.fr/remote.php/dav/files/tom";
vendor = "nextcloud"; vendor = "nextcloud";
user = "tom"; user = "tom";
}; };

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
# Updated: 2025/09/24 02:08:41 by tomoron ### ########.fr # # Updated: 2026/04/27 14:18:18 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -29,7 +29,7 @@ configSops ? true,
home.username = lib.mkIf (!isOs) "${username}"; home.username = lib.mkIf (!isOs) "${username}";
home.homeDirectory = lib.mkIf (!isOs) "${homeDir}"; home.homeDirectory = lib.mkIf (!isOs) "${homeDir}";
home.stateVersion = "24.05"; home.stateVersion = "26.05";
sops = lib.mkIf configSops{ sops = lib.mkIf configSops{
defaultSopsFile = ../secrets/secrets.yaml; defaultSopsFile = ../secrets/secrets.yaml;

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# # # Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
# Updated: 2026/03/27 12:00:06 by tomoron ### ########.fr # # Updated: 2026/04/25 20:35:24 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/05 23:37:58 by tomoron #+# #+# # # Created: 2025/09/05 23:37:58 by tomoron #+# #+# #
# Updated: 2026/04/03 11:46:09 by tomoron ### ########.fr # # Updated: 2026/05/07 17:41:52 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -22,6 +22,7 @@
timeout = 1; timeout = 1;
}; };
boot.tmp.cleanOnBoot = true;
boot.consoleLogLevel = 3; boot.consoleLogLevel = 3;
boot.initrd.verbose = false; boot.initrd.verbose = false;
boot.kernelParams = [ boot.kernelParams = [

View File

@ -1,12 +0,0 @@
{ ... }:
let
nix-alien-pkgs = import (
builtins.fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
) { };
in
{
environment.systemPackages = with nix-alien-pkgs; [
nix-alien
];
}

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# # # Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
# Updated: 2026/04/10 20:07:49 by tomoron ### ########.fr # # Updated: 2026/04/27 12:53:46 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -15,6 +15,7 @@
{ {
services.udev.packages = [ pkgs.yubikey-personalization ]; services.udev.packages = [ pkgs.yubikey-personalization ];
boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ]; boot.initrd.kernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" ];
boot.initrd.systemd.enable = false;
boot.initrd.luks.yubikeySupport = true; boot.initrd.luks.yubikeySupport = true;
boot.initrd.luks.devices.cryptroot = { boot.initrd.luks.devices.cryptroot = {
device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f"; device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
@ -34,6 +35,7 @@
boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup boot.blacklistedKernelModules = [ "nvidia" "nvidia_drm" "nvidia_uvm" ]; #speeds up startup
programs.droidcam.enable = true; programs.droidcam.enable = true;
mods.displayManager.enable = true; mods.displayManager.enable = true;
mods.yubikey.pam.enable = true; mods.yubikey.pam.enable = true;
networking.firewall.enable = false; networking.firewall.enable = false;
@ -86,8 +88,11 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
acpi # can be user (global) acpi # can be user (global)
openvr
]; ];
# programs.alvr.enable = true;
mods.touchpad.enable = true; mods.touchpad.enable = true;
@ -157,4 +162,5 @@
Enable = "Source,Sink,Media,Socket"; Enable = "Source,Sink,Media,Socket";
}; };
}; };
} }

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/09/06 00:57:09 by tomoron #+# #+# # # Created: 2025/09/06 00:57:09 by tomoron #+# #+# #
# Updated: 2026/04/09 13:21:07 by tomoron ### ########.fr # # Updated: 2026/05/12 15:05:44 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -64,6 +64,8 @@ in
''; '';
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
boot.zfs.extraPools = [ "raid_vol" ];
services.zfs = { services.zfs = {
autoScrub.enable = true; autoScrub.enable = true;