Compare commits

..

12 commits

Author SHA1 Message Date
871bef56c4
peakperf: Initial CUDA support 2024-10-01 11:36:42 +02:00
cc8183cdf0
home: Add godot 2024-10-01 11:36:32 +02:00
0adf7d392b
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/c1c472f4cd91e4b0703e02810a8c7ed30186b6fa?narHash=sha256-lAqOCDI4B6hA%2Bt%2BKHSm/Go8hQF/Ob5sgXaIRtMAnMKw%3D' (2024-09-25)
  → 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959?narHash=sha256-b%2BGBgCWd2N6pkiTkRZaMFOPztPO4IVTaclYPrQl2uLk%3D' (2024-09-28)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/ad40c4b881309a5a96029636c35cc42419d55ce7?narHash=sha256-gYPDeDnGP/ky1CKiRIttv7JhiAPIerjDSypnNXHkJpA%3D' (2024-09-26)
  → 'github:nix-community/emacs-overlay/9deee9ccee19d5300bc366c7d28c479777886273?narHash=sha256-oMuC7BXm98IQ6falStTp%2BAaT6EuvhtC71rHJ92zaH/E%3D' (2024-09-30)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/759537f06e6999e141588ff1c9be7f3a5c060106?narHash=sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao%3D' (2024-09-25)
  → 'github:NixOS/nixpkgs/fbca5e745367ae7632731639de5c21f29c8744ed?narHash=sha256-40J9tW7Y794J7Uw4GwcAKlMxlX2xISBl6IBigo83ih8%3D' (2024-09-28)
• Updated input 'eww':
    'github:elkowar/eww/8661abf2bf07f5a809fc995233d93810cc1ac871?narHash=sha256-q82u3/pcP5T%2B%2BTMdDmaeDKYuCyky1Bo5BjHY1/NVHbY%3D' (2024-09-03)
  → 'github:elkowar/eww/e242d40e3522b27bf087addba23fc7588099b7a6?narHash=sha256-3AU48S429GzXxhFTWDbIaC0Cr7HMAGiF8NuuznbOufI%3D' (2024-09-26)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1e22ef1518fb175d762006f9cae7f6312b8caedb?narHash=sha256-TcUaKtya339Asu%2Bg6KTJ8h7KiKcKXKp2V%2BAt%2B7tksyY%3D' (2024-09-25)
  → 'github:nix-community/home-manager/ffe2d07e771580a005e675108212597e5b367d2d?narHash=sha256-4/vacp3CwdGoPf8U4e/N8OsGYtO09WTcQK5FqYfJbKs%3D' (2024-09-26)
• Updated input 'microvm':
    'github:astro/microvm.nix/af604aa08ac9a4ae585beaf1a3482897a27ab67e?narHash=sha256-tzGcRRhhK5lAuBtlHl3D/TR2V3egPLV4BBcN2%2B4CyY0%3D' (2024-09-12)
  → 'github:astro/microvm.nix/04f643d06b6f3f79cb289a8c94f051b012e1750e?narHash=sha256-IhKB3RPTrblfiq6DW9MiGrS0ULcn/0qWtlefL%2BGfg0o%3D' (2024-09-27)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/eb948c9d46fcea1cf99b20f69b091ead76ae3b63?narHash=sha256-qX4p4HrXIwmhcDTNi7q3xg7yCieQ%2BOryECjTwOEEkTk%3D' (2024-09-25)
  → 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965?narHash=sha256-WcqLz7d2Yrss02Y43mQXDQkvJPsK/ISZxQjd/uRcUQY%3D' (2024-09-29)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d0cb432a9d28218df11cbd77d984a2a46caeb5ac?narHash=sha256-19FNN5QT9Z11ZUMfftRplyNN%2B2PgcHKb3oq8KMW/hDA%3D' (2024-09-22)
  → 'github:NixOS/nixos-hardware/11c43c830e533dad1be527ecce379fcf994fbbb5?narHash=sha256-oKtfbQB1MBypqIyzkC8QCQcVGOa1soaXaGgcBIoh14o%3D' (2024-09-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093?narHash=sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk%3D' (2024-09-23)
  → 'github:nixos/nixpkgs/1925c603f17fc89f4c8f6bf6f631a802ad85d784?narHash=sha256-J%2BPeFKSDV%2BpHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI%3D' (2024-09-26)
• Updated input 'pre-commit-hooks':
    'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74?narHash=sha256-D5AegvGoEjt4rkKedmxlSEmC%2BnNLMBPWFxvmYnVLhjk%3D' (2024-09-19)
  → 'github:cachix/git-hooks.nix/85f7a7177c678de68224af3402ab8ee1bcee25c8?narHash=sha256-0YRcOxJG12VGDFH8iS8pJ0aYQQUAgo/r3ZAL%2BcSh9nk%3D' (2024-09-28)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a3d832f389606d7dc61a45b244c72ea472d1fcd4?narHash=sha256-yGYahXzCquyYEgf5GTtvtaN5hXbw20Ok2%2Bo8uVxoaFs%3D' (2024-09-26)
  → 'github:oxalica/rust-overlay/c2099c6c7599ea1980151b8b6247a8f93e1806ee?narHash=sha256-83j/GrHsx8GFUcQofKh%2BPRPz6pz8sxAsZyT/HCNdey8%3D' (2024-09-30)
• Updated input 'sops':
    'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8?narHash=sha256-qis6BtOOBBEAfUl7FMHqqTwRLB61OL5OFzIsOmRz2J4%3D' (2024-09-16)
  → 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803?narHash=sha256-%2B4B/dQm2EnORIk0k2wV3aHGaE0WXTBjColXjj7qWh10%3D' (2024-09-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3?narHash=sha256-3O7RWiXpvqBcCl84Mvqa8dXudZ1Bol1ubNdSmQt7nF4%3D' (2024-09-25)
  → 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754?narHash=sha256-uGRlRT47ecicF9iLD1G3g43jn2e%2Bb5KaMptb59LHnvM%3D' (2024-09-27)
2024-09-30 08:23:45 +02:00
231e27f532
work: Change sway scale on HDMI-A-1 to 1.5 2024-09-30 08:23:44 +02:00
ad8ee4c226
loki: Enable OpenCL for amdgpu 2024-09-30 08:23:42 +02:00
0cfbc4708d
gitea: Add tmpfiles configuration to clean up forgejo dumps 2024-09-30 08:23:41 +02:00
eb91f7bc03
home: Add geekbench and passmark-performancetest 2024-09-30 08:23:39 +02:00
26e0cc5095
loki: Disable solo2 and blink1 udev rules 2024-09-30 08:23:38 +02:00
1951fcc8bc
foot: Bind show-urls-copy 2024-09-30 08:23:36 +02:00
89c0e9d212
Package peakperf 2024-09-30 08:23:35 +02:00
3a5135a814
base: Clean up udev rules 2024-09-30 08:23:34 +02:00
8730edeb81
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb?narHash=sha256-Ef7UgoTdOB4PGQKSkHGu6SOxnTiArPHGcRf8qGFC39o%3D' (2024-09-24)
  → 'github:nix-community/disko/c1c472f4cd91e4b0703e02810a8c7ed30186b6fa?narHash=sha256-lAqOCDI4B6hA%2Bt%2BKHSm/Go8hQF/Ob5sgXaIRtMAnMKw%3D' (2024-09-25)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/b3512b3df5396e17d9e89cadcc3f57db0ea1fecc?narHash=sha256-uaugOQen4xK3vxect3xZyq3CsNOHcV5nMHS4yteIHFA%3D' (2024-09-24)
  → 'github:nix-community/emacs-overlay/ad40c4b881309a5a96029636c35cc42419d55ce7?narHash=sha256-gYPDeDnGP/ky1CKiRIttv7JhiAPIerjDSypnNXHkJpA%3D' (2024-09-26)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/23cbb250f3bf4f516a2d0bf03c51a30900848075?narHash=sha256-8fnFlXBgM/uSvBlLWjZ0Z0sOdRBesyNdH0%2BesxqizGc%3D' (2024-09-22)
  → 'github:NixOS/nixpkgs/759537f06e6999e141588ff1c9be7f3a5c060106?narHash=sha256-KQPI8CTTnB9CrJ7LrmLC4VWbKZfljEPBXOFGZFRpxao%3D' (2024-09-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/21c021862fa696c8199934e2153214ab57150cb6?narHash=sha256-EYLvFRoTPWtD%2B3uDg2wwQvlz88OrIr3zld%2BjFE5gDcY%3D' (2024-09-23)
  → 'github:nix-community/home-manager/1e22ef1518fb175d762006f9cae7f6312b8caedb?narHash=sha256-TcUaKtya339Asu%2Bg6KTJ8h7KiKcKXKp2V%2BAt%2B7tksyY%3D' (2024-09-25)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa?narHash=sha256-U2rPYu3iDI3GN1H6MN3NoCuVrAJlBJ9nNWRQY8Cs32Y%3D' (2024-09-20)
  → 'github:numtide/nixos-facter-modules/eb948c9d46fcea1cf99b20f69b091ead76ae3b63?narHash=sha256-qX4p4HrXIwmhcDTNi7q3xg7yCieQ%2BOryECjTwOEEkTk%3D' (2024-09-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6?narHash=sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c%3D' (2024-09-21)
  → 'github:nixos/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093?narHash=sha256-o8VBeCWHBxGd4kVMceIayf5GApqTavJbTa44Xcg5Rrk%3D' (2024-09-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/2e19799819104b46019d339e78d21c14372d3666?narHash=sha256-uMZMjoCS2nf40TAE1686SJl3OXWfdfM%2BBDEfRdr%2BuLc%3D' (2024-09-24)
  → 'github:oxalica/rust-overlay/a3d832f389606d7dc61a45b244c72ea472d1fcd4?narHash=sha256-yGYahXzCquyYEgf5GTtvtaN5hXbw20Ok2%2Bo8uVxoaFs%3D' (2024-09-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a?narHash=sha256-gplorAc0ISAUPemUNOnRUs7jr3WiLiHZb3DJh%2B%2BIkZs%3D' (2024-09-23)
  → 'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3?narHash=sha256-3O7RWiXpvqBcCl84Mvqa8dXudZ1Bol1ubNdSmQt7nF4%3D' (2024-09-25)
2024-09-30 08:23:32 +02:00
13 changed files with 123 additions and 72 deletions

View file

@ -193,11 +193,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727156717, "lastModified": 1727531434,
"narHash": "sha256-Ef7UgoTdOB4PGQKSkHGu6SOxnTiArPHGcRf8qGFC39o=", "narHash": "sha256-b+GBgCWd2N6pkiTkRZaMFOPztPO4IVTaclYPrQl2uLk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "c61e50b63ad50dda5797b1593ad7771be496efbb", "rev": "b709e1cc33fcde71c7db43850a55ebe6449d0959",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -217,11 +217,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1727140563, "lastModified": 1727662057,
"narHash": "sha256-uaugOQen4xK3vxect3xZyq3CsNOHcV5nMHS4yteIHFA=", "narHash": "sha256-oMuC7BXm98IQ6falStTp+AaT6EuvhtC71rHJ92zaH/E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "b3512b3df5396e17d9e89cadcc3f57db0ea1fecc", "rev": "9deee9ccee19d5300bc366c7d28c479777886273",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -241,11 +241,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1725366879, "lastModified": 1727371344,
"narHash": "sha256-q82u3/pcP5T++TMdDmaeDKYuCyky1Bo5BjHY1/NVHbY=", "narHash": "sha256-3AU48S429GzXxhFTWDbIaC0Cr7HMAGiF8NuuznbOufI=",
"owner": "elkowar", "owner": "elkowar",
"repo": "eww", "repo": "eww",
"rev": "8661abf2bf07f5a809fc995233d93810cc1ac871", "rev": "e242d40e3522b27bf087addba23fc7588099b7a6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -551,11 +551,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727111745, "lastModified": 1727383923,
"narHash": "sha256-EYLvFRoTPWtD+3uDg2wwQvlz88OrIr3zld+jFE5gDcY=", "narHash": "sha256-4/vacp3CwdGoPf8U4e/N8OsGYtO09WTcQK5FqYfJbKs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "21c021862fa696c8199934e2153214ab57150cb6", "rev": "ffe2d07e771580a005e675108212597e5b367d2d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -575,11 +575,11 @@
"spectrum": "spectrum" "spectrum": "spectrum"
}, },
"locked": { "locked": {
"lastModified": 1726161490, "lastModified": 1727444402,
"narHash": "sha256-tzGcRRhhK5lAuBtlHl3D/TR2V3egPLV4BBcN2+4CyY0=", "narHash": "sha256-IhKB3RPTrblfiq6DW9MiGrS0ULcn/0qWtlefL+Gfg0o=",
"owner": "astro", "owner": "astro",
"repo": "microvm.nix", "repo": "microvm.nix",
"rev": "af604aa08ac9a4ae585beaf1a3482897a27ab67e", "rev": "04f643d06b6f3f79cb289a8c94f051b012e1750e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -658,11 +658,11 @@
}, },
"nixos-facter-modules": { "nixos-facter-modules": {
"locked": { "locked": {
"lastModified": 1726827416, "lastModified": 1727625453,
"narHash": "sha256-U2rPYu3iDI3GN1H6MN3NoCuVrAJlBJ9nNWRQY8Cs32Y=", "narHash": "sha256-WcqLz7d2Yrss02Y43mQXDQkvJPsK/ISZxQjd/uRcUQY=",
"owner": "numtide", "owner": "numtide",
"repo": "nixos-facter-modules", "repo": "nixos-facter-modules",
"rev": "6eb13404bbe40b9a5ef9984792b27933658571fa", "rev": "e1ac6a83a5733788833fdff12aa074b5bdfdc965",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -673,11 +673,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1727040444, "lastModified": 1727665282,
"narHash": "sha256-19FNN5QT9Z11ZUMfftRplyNN+2PgcHKb3oq8KMW/hDA=", "narHash": "sha256-oKtfbQB1MBypqIyzkC8QCQcVGOa1soaXaGgcBIoh14o=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "d0cb432a9d28218df11cbd77d984a2a46caeb5ac", "rev": "11c43c830e533dad1be527ecce379fcf994fbbb5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -732,11 +732,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1726969270, "lastModified": 1727540905,
"narHash": "sha256-8fnFlXBgM/uSvBlLWjZ0Z0sOdRBesyNdH0+esxqizGc=", "narHash": "sha256-40J9tW7Y794J7Uw4GwcAKlMxlX2xISBl6IBigo83ih8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "23cbb250f3bf4f516a2d0bf03c51a30900848075", "rev": "fbca5e745367ae7632731639de5c21f29c8744ed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -780,11 +780,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1726937504, "lastModified": 1727348695,
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=", "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9357f4f23713673f310988025d9dc261c20e70c6", "rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -832,11 +832,11 @@
"nixpkgs-stable": "nixpkgs-stable_3" "nixpkgs-stable": "nixpkgs-stable_3"
}, },
"locked": { "locked": {
"lastModified": 1726745158, "lastModified": 1727514110,
"narHash": "sha256-D5AegvGoEjt4rkKedmxlSEmC+nNLMBPWFxvmYnVLhjk=", "narHash": "sha256-0YRcOxJG12VGDFH8iS8pJ0aYQQUAgo/r3ZAL+cSh9nk=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "4e743a6920eab45e8ba0fbe49dc459f1423a4b74", "rev": "85f7a7177c678de68224af3402ab8ee1bcee25c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -880,11 +880,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727144949, "lastModified": 1727663505,
"narHash": "sha256-uMZMjoCS2nf40TAE1686SJl3OXWfdfM+BDEfRdr+uLc=", "narHash": "sha256-83j/GrHsx8GFUcQofKh+PRPz6pz8sxAsZyT/HCNdey8=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "2e19799819104b46019d339e78d21c14372d3666", "rev": "c2099c6c7599ea1980151b8b6247a8f93e1806ee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -901,11 +901,11 @@
"nixpkgs-stable": "nixpkgs-stable_4" "nixpkgs-stable": "nixpkgs-stable_4"
}, },
"locked": { "locked": {
"lastModified": 1726524647, "lastModified": 1727423009,
"narHash": "sha256-qis6BtOOBBEAfUl7FMHqqTwRLB61OL5OFzIsOmRz2J4=", "narHash": "sha256-+4B/dQm2EnORIk0k2wV3aHGaE0WXTBjColXjj7qWh10=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "e2d404a7ea599a013189aa42947f66cede0645c8", "rev": "127a96f49ddc377be6ba76964411bab11ae27803",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -998,11 +998,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727098951, "lastModified": 1727431250,
"narHash": "sha256-gplorAc0ISAUPemUNOnRUs7jr3WiLiHZb3DJh++IkZs=", "narHash": "sha256-uGRlRT47ecicF9iLD1G3g43jn2e+b5KaMptb59LHnvM=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "35dfece10c642eb52928a48bee7ac06a59f93e9a", "rev": "879b29ae9a0378904fbbefe0dadaed43c8905754",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -260,6 +260,7 @@
dnspyre = pkgs.callPackage ./pkgs/dnspyre { }; dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { }; git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { };
hassbridge = pkgs.callPackage ./pkgs/hassbridge { }; hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
peakperf = pkgs.callPackage ./pkgs/peakperf { };
tinyows = pkgs.callPackage ./pkgs/tinyows { }; tinyows = pkgs.callPackage ./pkgs/tinyows { };
tsui = pkgs.callPackage ./pkgs/tsui { }; tsui = pkgs.callPackage ./pkgs/tsui { };
}; };

View file

@ -27,7 +27,11 @@ in
settings = { settings = {
main = { main = {
font = "Iosevka Nerd Font:size=${toString cfg.fontSize}, Twitter Color Emoji:size=${toString cfg.fontSize}"; font = "Iosevka Nerd Font:size=${toString cfg.fontSize}, Twitter Color Emoji:size=${toString cfg.fontSize}";
dpi-aware = "yes"; dpi-aware = "no";
};
key-bindings = {
show-urls-copy = "Control+Shift+w";
}; };
scrollback = { scrollback = {

View file

@ -89,6 +89,20 @@ in
}; };
}; };
# Clean up dump files older than 60 days
systemd.tmpfiles.settings = {
forgejo = {
"/var/lib/forgejo/dump" = {
d = {
user = "git";
group = "forgejo";
mode = "0750";
age = "60d";
};
};
};
};
networking.firewall.allowedTCPPorts = [ 3000 ]; networking.firewall.allowedTCPPorts = [ 3000 ];
users.users.git = { users.users.git = {

View file

@ -31,9 +31,9 @@
work = false; work = false;
udev-rules = { udev-rules = {
qmk = true; qmk = true;
solo2 = true; solo2 = false;
picotool = true; picotool = true;
blink1 = true; blink1 = false;
probe-rs = true; probe-rs = true;
}; };
}; };
@ -109,6 +109,10 @@
# i2c support # i2c support
i2c.enable = true; i2c.enable = true;
amdgpu = {
opencl.enable = true;
};
}; };
boot = { boot = {

View file

@ -1,5 +1,5 @@
{ mkDerivation, lib }: { stdenv, lib }:
mkDerivation { stdenv.mkDerivation {
pname = "blink1-udev-rules"; pname = "blink1-udev-rules";
version = "20220531093409"; version = "20220531093409";

View file

@ -7,28 +7,12 @@
with lib; with lib;
let let
cfg = config.eboskma.base; cfg = config.eboskma.base;
qmkUdevRules = pkgs.callPackage ./qmk { qmkUdevRules = pkgs.callPackage ./qmk { };
inherit (pkgs.stdenv) mkDerivation; probersRules = pkgs.callPackage ./probe-rs { };
inherit lib; blink1Rules = pkgs.callPackage ./blink1-udev { };
}; picotoolRules = pkgs.callPackage ./picotool { };
probersRules = pkgs.callPackage ./probe-rs { inherit lib; }; solo2Rules = pkgs.callPackage ./solo2 { };
blink1Rules = pkgs.callPackage ./blink1-udev { plymouth-nixos-blur = pkgs.callPackage ./plymouth-nixos-blur { };
inherit (pkgs.stdenv) mkDerivation;
inherit lib;
};
picotoolRules = pkgs.callPackage ./picotool {
inherit (pkgs.stdenv) mkDerivation;
inherit lib;
};
solo2Rules = pkgs.callPackage ./solo2 {
inherit (pkgs.stdenv) mkDerivation;
inherit lib;
};
plymouth-nixos-blur = pkgs.callPackage ./plymouth-nixos-blur {
inherit (pkgs.stdenv) mkDerivation;
inherit lib;
};
in in
{ {
options.eboskma.base = { options.eboskma.base = {

View file

@ -1,5 +1,5 @@
{ mkDerivation, lib }: { stdenv, lib }:
mkDerivation { stdenv.mkDerivation {
pname = "picotool-udev-rules"; pname = "picotool-udev-rules";
version = "20220628194715"; version = "20220628194715";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, ... }: { lib, stdenv }:
let let
pname = "qmk-udev-rules"; pname = "qmk-udev-rules";
version = "0.19.6"; version = "0.19.6";

View file

@ -1,9 +1,9 @@
{ lib, mkDerivation, ... }: { lib, stdenv }:
let let
pname = "solo2-udev-rules"; pname = "solo2-udev-rules";
version = "20220924"; version = "20220924";
in in
mkDerivation { stdenv.mkDerivation {
inherit pname version; inherit pname version;
src = ./.; src = ./.;

41
pkgs/peakperf/default.nix Normal file
View file

@ -0,0 +1,41 @@
{
config,
lib,
stdenv,
fetchFromGitHub,
cmake,
enableCuda ? config.cudaSupport,
cudaPackages ? { },
}:
let
effectiveStdenv = if enableCuda then cudaPackages.backendStdenv else stdenv;
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "peakperf";
version = "1.17";
src = fetchFromGitHub {
owner = "Dr-Noob";
repo = "peakperf";
rev = "v${finalAttrs.version}";
hash = "sha256-bP38oo0tHDvzbWHiNwbkQoM7ZQ4nwTimVYfbPh0FUd4=";
};
buildInputs =
[ ]
++ lib.optionals enableCuda [
cudaPackages.cudart
];
nativeBuildInputs = [
cmake
];
meta = {
description = "Achieve peak performance on x86 CPUs and NVIDIA GPUs";
homepage = "https://github.com/Dr-Noob/peakperf";
license = lib.licenses.gpl2Only;
mainProgram = "peakperf";
platforms = lib.platforms.all;
};
})

View file

@ -204,6 +204,8 @@ in
easyeffects easyeffects
fd fd
ffmpeg-full ffmpeg-full
geekbench
godot_4
hashcat hashcat
helvum helvum
imagemagick imagemagick
@ -234,6 +236,7 @@ in
orca-slicer orca-slicer
pamedia pamedia
pass pass
passmark-performancetest
pavucontrol pavucontrol
povray povray
procs procs

View file

@ -137,7 +137,7 @@ in
}; };
"HDMI-A-1" = { "HDMI-A-1" = {
bg = "${../../wallpapers/river-3840.png} fill"; bg = "${../../wallpapers/river-3840.png} fill";
scale = "1.25"; scale = "1.5";
disable = "disable"; disable = "disable";
}; };
}; };