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

View file

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

View file

@ -27,7 +27,11 @@ in
settings = {
main = {
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 = {

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 ];
users.users.git = {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,9 +1,9 @@
{ lib, mkDerivation, ... }:
{ lib, stdenv }:
let
pname = "solo2-udev-rules";
version = "20220924";
in
mkDerivation {
stdenv.mkDerivation {
inherit pname version;
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
fd
ffmpeg-full
geekbench
godot_4
hashcat
helvum
imagemagick
@ -234,6 +236,7 @@ in
orca-slicer
pamedia
pass
passmark-performancetest
pavucontrol
povray
procs

View file

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