Merge pull request #30 from tomasriveral/main

desktop
This commit is contained in:
2026-06-14 08:13:03 +00:00
committed by GitHub
16 changed files with 253 additions and 247 deletions
+74 -27
View File
@@ -2,11 +2,18 @@ name: Sync branches into main
on: on:
schedule: schedule:
- cron: "0 14 * * 1" - cron: "0 14 * * 1" # Monday
- cron: "0 14 * * 3" # Wednesday
- cron: "0 14 * * 3"
workflow_dispatch: workflow_dispatch:
inputs:
source:
description: Branch to sync into main
required: true
type: choice
options:
- laptop
- desktop
permissions: permissions:
contents: write contents: write
@@ -17,42 +24,82 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Determine source branch - name: Determine source branch
id: branch id: branch
run: | run: |
DOW=$(date -u +%u) if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "source=${{ inputs.source }}" >> "$GITHUB_OUTPUT"
if [ "$DOW" = "1" ]; then exit 0
echo "source=laptop" >> "$GITHUB_OUTPUT"
elif [ "$DOW" = "3" ]; then
echo "source=desktop" >> "$GITHUB_OUTPUT"
else
echo "Not a scheduled sync day"
exit 1
fi fi
- name: Create pull request DOW=$(date -u +%u)
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: main
branch: ${{ steps.branch.outputs.source }}
title: "Weekly sync: ${{ steps.branch.outputs.source }} → main"
body: |
This pull request was created automatically by GitHub Actions.
If the branch can be merged cleanly, auto-merge will merge it automatically. case "$DOW" in
1)
echo "source=laptop" >> "$GITHUB_OUTPUT"
;;
3)
echo "source=desktop" >> "$GITHUB_OUTPUT"
;;
*)
echo "No sync scheduled today."
exit 1
;;
esac
If there are merge conflicts, this PR will remain open until they are resolved. - name: Check for existing PR
draft: false id: existing
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_NUMBER=$(gh pr list \
--base main \
--head "${{ steps.branch.outputs.source }}" \
--state open \
--json number \
--jq '.[0].number // empty')
echo "number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
- name: Create PR
id: create
if: steps.existing.outputs.number == ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \
--base main \
--head "${{ steps.branch.outputs.source }}" \
--title "Weekly sync: ${{ steps.branch.outputs.source }} → main" \
--body "This pull request was created automatically by GitHub Actions."
PR_NUMBER=$(gh pr list \
--base main \
--head "${{ steps.branch.outputs.source }}" \
--state open \
--json number \
--jq '.[0].number')
echo "number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
- name: Determine PR number
id: pr
run: |
if [ -n "${{ steps.existing.outputs.number }}" ]; then
echo "number=${{ steps.existing.outputs.number }}" >> "$GITHUB_OUTPUT"
else
echo "number=${{ steps.create.outputs.number }}" >> "$GITHUB_OUTPUT"
fi
- name: Enable auto-merge - name: Enable auto-merge
if: steps.cpr.outputs.pull-request-number if: steps.pr.outputs.number != ''
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
gh pr merge \ gh pr merge \
${{ steps.cpr.outputs.pull-request-number }} \ "${{ steps.pr.outputs.number }}" \
--auto \ --auto \
--merge --merge
Generated
+40 -108
View File
@@ -34,11 +34,11 @@
"quickshell": "quickshell" "quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1780996864, "lastModified": 1781178648,
"narHash": "sha256-OIDk3FiSKjYLV4Dvfv6fMeVcV3Dk9+MBBKTORNqMsUg=", "narHash": "sha256-z6V1T7MHShM7TfFIMCDp94Bi1Wk9LJfK96vm8YFGY5M=",
"owner": "caelestia-dots", "owner": "caelestia-dots",
"repo": "shell", "repo": "shell",
"rev": "c46593d438a75fce42f28529662b678b79d94693", "rev": "a16c957a8bd13e0cfd09928ca0a22fecd3681e44",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -54,11 +54,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1780894562, "lastModified": 1781152676,
"narHash": "sha256-c3430xwxwhHipl3jigUGMMBfpaMylDqytW/kdmB3ZGs=", "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "24fed06cac83bcc44ac8efbb57cab1a82fa0bedc", "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -74,15 +74,14 @@
"locked": { "locked": {
"lastModified": 1778716662, "lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github" "revCount": 475,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.475%2Brev-f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb/019e2533-0324-7e90-93eb-29b02e1a61cd/source.tar.gz"
}, },
"original": { "original": {
"owner": "hercules-ci", "type": "tarball",
"repo": "flake-parts", "url": "https://flakehub.com/f/hercules-ci/flake-parts/%2A"
"type": "github"
} }
}, },
"flake-utils": { "flake-utils": {
@@ -92,15 +91,14 @@
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "revCount": 102,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/numtide/flake-utils/0.1.102%2Brev-11707dc2f618dd54ca8739b309ec4fc024de578b/0193276d-5b8f-7dbc-acf1-41cb7b54ad2e/source.tar.gz"
}, },
"original": { "original": {
"owner": "numtide", "type": "tarball",
"repo": "flake-utils", "url": "https://flakehub.com/f/numtide/flake-utils/%2A"
"type": "github"
} }
}, },
"home-manager": { "home-manager": {
@@ -110,11 +108,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1780883961, "lastModified": 1781319724,
"narHash": "sha256-WU6SUrESuPiEXEUvX4D51AgWrXRJty+sLJBwBaDBGqE=", "narHash": "sha256-ZGuxexEMo4Xv28KJ0dX/m/PHN4oZIOnxHZpNTyrvx4M=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4eb4fec41674d5b059aa2eedf0f98453890546fa", "rev": "8355f0a16b2dbb06a97959a918af5b239bbe05ae",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -142,36 +140,20 @@
"m3shapes": { "m3shapes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1777812556, "lastModified": 1781017666,
"narHash": "sha256-E5nqOucRQBWKuT31AMekmfgMywRdHgSbU86R7t4BKKA=", "narHash": "sha256-kfHyzZaPHgqZML48OA+5JwBOsLdQJ2ci/aGPShvUB4Y=",
"owner": "soramanew", "owner": "soramanew",
"repo": "m3shapes", "repo": "m3shapes",
"rev": "356825d31f16052a782735cce264331cba0cb71b", "rev": "bdc327b29f95394a732baf3c9b19658ba23755b6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "soramanew", "owner": "soramanew",
"repo": "m3shapes", "repo": "m3shapes",
"rev": "356825d31f16052a782735cce264331cba0cb71b", "rev": "bdc327b29f95394a732baf3c9b19658ba23755b6",
"type": "github" "type": "github"
} }
}, },
"microPlugins-vivify": {
"flake": false,
"locked": {
"lastModified": 1770382657,
"narHash": "sha256-yWmIgT90mC9PhzyH/itDbRMmRTiZiwW+Yo0dsHW7ni8=",
"ref": "refs/heads/main",
"rev": "3c5cb25facf3fc4143bfea9323a60eda65ef8485",
"revCount": 8,
"type": "git",
"url": "https://codeberg.org/gibbert/micro-vivify"
},
"original": {
"type": "git",
"url": "https://codeberg.org/gibbert/micro-vivify"
}
},
"nix-git-cherry-picker": { "nix-git-cherry-picker": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@@ -195,36 +177,18 @@
"type": "github" "type": "github"
} }
}, },
"nixos-grub-themes": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1769794759,
"narHash": "sha256-1doG74WkbtUpawduk9f8szyzWsw3Liblrh2z+2jQnw4=",
"owner": "jeslie0",
"repo": "nixos-grub-themes",
"rev": "5e75f9b3ea9061dca6c53d34e166e08bf9ebc7c7",
"type": "github"
},
"original": {
"owner": "jeslie0",
"repo": "nixos-grub-themes",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1702151865, "lastModified": 1780902259,
"narHash": "sha256-9VAt19t6yQa7pHZLDbil/QctAgVsA66DLnzdRGqDisg=", "narHash": "sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "666fc80e7b2afb570462423cb0e1cf1a3a34fedd", "rev": "bd0ff2d3eac24699c3664d5966b9ef36f388e2ca",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@@ -244,22 +208,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-master": {
"locked": {
"lastModified": 1780997039,
"narHash": "sha256-8pPXOCZkrySE3zwtix2MYxm9NzzHT/XQr0mHJsf3lis=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "872eb0174d0d5a1bc37388ff84eea2bca44b1065",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-notifier": { "nixpkgs-notifier": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@@ -270,11 +218,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1780489272, "lastModified": 1781273662,
"narHash": "sha256-hMWKTal0SqG2OdtT/wB6wj9jLaES40yJlUQAjtbjTpA=", "narHash": "sha256-50dd7Cs1mUHq1srw7UojdzCYOB4TfrIXMv7XHHPU9zw=",
"owner": "tomasriveral", "owner": "tomasriveral",
"repo": "nixpkgs-notifier", "repo": "nixpkgs-notifier",
"rev": "276b61aecaf9c2700e7c3cb7310bac5c6a9e5b5a", "rev": "12183f26e8b196d9906f82dc05f9672793c61038",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -285,11 +233,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1780930886, "lastModified": 1781268102,
"narHash": "sha256-rppURzHviaQN131F+nLiLdGfcb0uCd9gGP0E5+iw9MI=", "narHash": "sha256-Zn5KTggEmUB3lXn/ccERNcBdddE6IaOFber9dWViWDg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8c3cede7ddc26bd659d2d383b5610efbd2c7a16e", "rev": "49a4bd0573c376468dd7996ddb6f9fa31d8c4d97",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -299,22 +247,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1780902259,
"narHash": "sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bd0ff2d3eac24699c3664d5966b9ef36f388e2ca",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"notewrapper": { "notewrapper": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@@ -349,11 +281,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1780942898, "lastModified": 1781158593,
"narHash": "sha256-cP4gUX4YE1kFe+15Zd1CbqL08XytPm1UXZuaXjYLG94=", "narHash": "sha256-zxlheX4o1MK00dkYzoXm7Srj5SD9iOCSp4N7f1iShr0=",
"owner": "r14dd", "owner": "r14dd",
"repo": "patent", "repo": "patent",
"rev": "bbad654b6b65264d2ba267b5c87e8be0bd89b78e", "rev": "68772d068088d62a030619090959165af5e71ed1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -391,11 +323,11 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"import-tree": "import-tree", "import-tree": "import-tree",
"microPlugins-vivify": "microPlugins-vivify",
"nix-git-cherry-picker": "nix-git-cherry-picker", "nix-git-cherry-picker": "nix-git-cherry-picker",
"nixos-grub-themes": "nixos-grub-themes", "nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2", "nixpkgs-master": [
"nixpkgs-master": "nixpkgs-master", "nixpkgs-unstable"
],
"nixpkgs-notifier": "nixpkgs-notifier", "nixpkgs-notifier": "nixpkgs-notifier",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"notewrapper": "notewrapper", "notewrapper": "notewrapper",
+10 -6
View File
@@ -4,8 +4,10 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached # Only uncomment when needed. This uses a lot of space and compute ressources for sometimes not that much. If not used, make it follow unstable
nixpkgs-master.follows = "nixpkgs-unstable";
#nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached
# This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone # This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone
#nixpkgs-local.url = "path:/home/tomasr/devel/fugit2-gpgme"; #nixpkgs-local.url = "path:/home/tomasr/devel/fugit2-gpgme";
@@ -14,7 +16,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
flake-utils = { flake-utils = {
url = "github:numtide/flake-utils"; url = "https://flakehub.com/f/numtide/flake-utils/*"; # flakehub caches results
}; };
notewrapper = { notewrapper = {
url = "github:tomasriveral/notewrapper"; url = "github:tomasriveral/notewrapper";
@@ -45,12 +47,14 @@
url = "github:nix-community/disko"; url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
/*microPlugins-vivify = { /*
microPlugins-vivify = {
url = "git+https://codeberg.org/gibbert/micro-vivify"; url = "git+https://codeberg.org/gibbert/micro-vivify";
flake = false; flake = false;
};*/ };
*/
flake-parts = { flake-parts = {
url = "github:hercules-ci/flake-parts"; url = "https://flakehub.com/f/hercules-ci/flake-parts/*"; # flakehub caches results
}; };
import-tree.url = "github:vic/import-tree"; # imports ./modules recursively import-tree.url = "github:vic/import-tree"; # imports ./modules recursively
}; };
+29
View File
@@ -386,6 +386,18 @@
keyword = "nix reference manual"; keyword = "nix reference manual";
url = "https://nix.dev/manual/nix/2.34/nix-2.34.html"; url = "https://nix.dev/manual/nix/2.34/nix-2.34.html";
} }
{
name = "Disposable temporary email";
tags = ["privacy" "email" "temporary"];
keyword = "disposable temporary email";
url = "https://temp-mail.org";
}
{
name = "nix-update-script Rryan-tm logs";
tags = ["nixpkgs" "nix" "log" "rryan-tm"];
keyword = "rryan-tm logs";
url = "https://nixpkgs-update-logs.nix-community.org";
}
]; ];
}; };
search = { search = {
@@ -622,6 +634,23 @@
# }; # };
#}; #};
}; };
bookmarks = {
force = true;
settings = [
{
name = "Disposable temporary email";
tags = ["privacy" "email" "temporary"];
keyword = "disposable temporary email";
url = "https://temp-mail.org";
}
{
name = "r/Piracy megathread";
tags = ["piracy" "megathread" "reddit"];
keyword = "piracy megathread";
url = "https://old.reddit.com/r/Piracy/wiki/megathread";
}
];
};
search = { search = {
force = true; force = true;
default = "quant"; default = "quant";
+4 -2
View File
@@ -2,9 +2,11 @@ _: {
flake.homeModules.git = _: { flake.homeModules.git = _: {
programs.git = { programs.git = {
enable = true; enable = true;
/*settings = { /*
settings = {
init.defaultBranch = "main"; init.defaultBranch = "main";
};*/ };
*/
}; };
programs.gh = { programs.gh = {
enable = true; enable = true;
+4 -2
View File
@@ -34,13 +34,15 @@
CPUWeight = 1; # minimum relative CPU share CPUWeight = 1; # minimum relative CPU share
}; };
}; };
/*systemd.user.timers.kdrive-sync = { /*
systemd.user.timers.kdrive-sync = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnBootSec = "1m"; OnBootSec = "1m";
OnUnitActiveSec = "5m"; OnUnitActiveSec = "5m";
}; };
};*/ };
*/
}; };
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
packages.custom-checkKdrive = pkgs.writeShellApplication { packages.custom-checkKdrive = pkgs.writeShellApplication {
+26 -25
View File
@@ -1,30 +1,31 @@
_: { _: let
flake.nixosModules.bootloader-laptop = { wallpaper1 = ../../assets/wallpaper1.jpg;
inputs, wallpaper2 = ../../assets/wallpaper2.jpg;
pkgs, wallpaper3 = ../../assets/wallpaper3.jpg;
... wallpaper4 = ../../assets/wallpaper4.jpg;
}: { wallpaper5 = ../../assets/wallpaper5.jpg;
# grub theme in {
boot.loader.grub = { flake.nixosModules.bootloader = _: {
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme # disable other bootloaders
boot.loader.systemd-boot.enable = false;
boot.loader.grub.enable = false;
boot.loader.limine = {
enable = true;
efiSupport = true;
maxGenerations = 128;
style = {
wallpaperStyle = "centered";
wallpapers = [
wallpaper1
wallpaper2
wallpaper3
wallpaper4
wallpaper5
];
};
}; };
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
};
flake.nixosModules.bootloader-desktop = {
inputs,
pkgs,
...
}: {
# grub theme
boot.loader.grub = {
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
}; };
} }
+19 -15
View File
@@ -33,14 +33,18 @@ _: {
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}; };
flake.nixosModules.hardware-configuration-desktop = # Do not modify this file! It was generated by nixos-generate-config flake.nixosModules.hardware-configuration-desktop =
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = ["vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
@@ -48,31 +52,31 @@ flake.nixosModules.hardware-configuration-desktop = # Do not modify this file!
boot.kernelModules = ["kvm-intel"]; boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2"; device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
fsType = "btrfs"; fsType = "btrfs";
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2"; device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=home"]; options = ["subvol=home"];
}; };
fileSystems."/nix" = fileSystems."/nix" = {
{ device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2"; device = "/dev/disk/by-uuid/14bcd132-b4a3-46f2-ac35-3497340de4b2";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=nix"]; options = ["subvol=nix"];
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/BAB4-34F6"; device = "/dev/disk/by-uuid/BAB4-34F6";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = ["fmask=0077" "dmask=0077"];
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/ce6f9a68-0517-4f8a-b375-66f2173efe59"; } {device = "/dev/disk/by-uuid/ce6f9a68-0517-4f8a-b375-66f2173efe59";}
]; ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
+2 -1
View File
@@ -20,7 +20,7 @@
autoCleanup-desktop autoCleanup-desktop
autoUpdate-desktop autoUpdate-desktop
bluetooth bluetooth
bootloader-desktop bootloader
browsers browsers
caelestia caelestia
development development
@@ -38,6 +38,7 @@
mathematics mathematics
mullvad mullvad
networking networking
nixUtils
notifications notifications
nvidia nvidia
office office
+4 -2
View File
@@ -20,7 +20,7 @@
autoUpdate-laptop autoUpdate-laptop
#battery-laptop #battery-laptop
bluetooth bluetooth
bootloader-laptop bootloader
browsers browsers
caelestia caelestia
development development
@@ -39,6 +39,8 @@
mathematics mathematics
mullvad mullvad
networking networking
nixUtils-laptop
nixUtils
notifications notifications
office office
#ollama #ollama
@@ -67,7 +69,7 @@
librewolf librewolf
mullvad mullvad
neovim neovim
nixGitCherryPicker-laptop nix-git-cherry-picker-laptop
notewrapper notewrapper
oh-my-zsh oh-my-zsh
ripgrep ripgrep
+2 -1
View File
@@ -24,7 +24,8 @@
gnumake gnumake
go go
direnv direnv
git gh git
gh
cling # c interpreter used for coding cling # c interpreter used for coding
# lsp # lsp
clang-tools clang-tools
+1 -21
View File
@@ -1,5 +1,4 @@
{inputs, ...}: { {inputs, ...}: {
<<<<<<< desktop
flake.homeModules.nix-git-cherry-picker-laptop = {pkgs, ...}: { flake.homeModules.nix-git-cherry-picker-laptop = {pkgs, ...}: {
home.packages = [ home.packages = [
inputs.nix-git-cherry-picker.packages.${pkgs.system}.default inputs.nix-git-cherry-picker.packages.${pkgs.system}.default
@@ -17,30 +16,10 @@
}; };
}; };
flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: { flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: {
=======
flake.homeModules.nixGitCherryPicker-laptop = {pkgs, ...}: {
>>>>>>> main
home.packages = [ home.packages = [
inputs.nix-git-cherry-picker.packages.${pkgs.system}.default inputs.nix-git-cherry-picker.packages.${pkgs.system}.default
]; ];
home.file.".config/nix-git-cherry-picker/config.json" = { home.file.".config/nix-git-cherry-picker/config.json" = {
enable = true;
text = ''
{
"localBranch": "laptop",
"remoteBranch": "desktop",
"nixConfigPath": "/home/tomasr/nixos/"
}
'';
force = true;
};
};
flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: {
home.packages = [
inputs.nix-git-cherry-picker.packages.${pkgs.system}.default
];
};
home.file-".config/nix-git-cherry-picker/config.json" = {
enable = true; enable = true;
text = '' text = ''
{ {
@@ -51,4 +30,5 @@
''; '';
force = true; force = true;
}; };
};
} }
+3 -2
View File
@@ -1,4 +1,4 @@
{inputs, ...}: { {inputs, self, ...}: {
flake.nixosModules.nixUtils-laptop = _: { flake.nixosModules.nixUtils-laptop = _: {
# nixpkgs-review crashed my laptop multiple times. We must reduce how much ressources it can take. # nixpkgs-review crashed my laptop multiple times. We must reduce how much ressources it can take.
# for reference, my laptop is a 12 core ryzen 7 # for reference, my laptop is a 12 core ryzen 7
@@ -10,7 +10,7 @@
nix.optimise = { nix.optimise = {
automatic = true; automatic = true;
persistent = true; persistent = true;
randomDelaySec = "30min"; randomizedDelaySec = "30min";
dates = "Thu *-*-* 16:00:00"; dates = "Thu *-*-* 16:00:00";
}; };
# Garbage collector of generations # Garbage collector of generations
@@ -40,6 +40,7 @@
vimPluginsUpdater # used for building plugins vimPluginsUpdater # used for building plugins
nix-index nix-index
statix statix
self.packages.${pkgs-unstable.system}.custom-trimmer
]; ];
}; };
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {