Compare commits

...

6 Commits

Author SHA1 Message Date
tux
b17687e37a style: format code 2026-07-31 20:23:26 +05:30
tux
2dd80a2406 feat: add gpu-screen-recorder 2026-07-29 17:48:46 +05:30
tux
414f448d36 misc:(opencode): set default model 2026-07-29 15:40:34 +05:30
tux
4814cc4722 feat(zsh): switch to fast-syntax-highlighting 2026-07-28 22:35:52 +05:30
tux
030377427b feat(canopus): setup nvidia 2026-07-28 22:21:42 +05:30
tux
5c1cedeb98 chore: update tpanel flake input 2026-07-28 19:01:20 +05:30
7 changed files with 43 additions and 20 deletions

6
flake.lock generated
View File

@@ -1523,11 +1523,11 @@
]
},
"locked": {
"lastModified": 1771924703,
"narHash": "sha256-FdXguczx6AcfEnEPhKm76CdjsvAKQ88H4CHt43bhO6s=",
"lastModified": 1784904497,
"narHash": "sha256-fd7YDkswyy5IlKUJ3aRcrtCSh7ubcW9uMGWOIxFBovI=",
"owner": "tuxdotrs",
"repo": "tpanel",
"rev": "9b8c4df5961eb541fd60e8ea424266790c3969a1",
"rev": "fd5a96c4e84c62ec28c5596a5d3775f9523a2a56",
"type": "github"
},
"original": {

View File

@@ -4,14 +4,7 @@
inputs.treefmt-nix.flakeModule
];
perSystem =
{
config,
pkgs,
system,
...
}:
{
perSystem = {
treefmt.config = {
projectRootFile = "flake.nix";
flakeCheck = true;

View File

@@ -6,6 +6,7 @@
theme = "system";
};
settings = {
model = "opencode-go/kimi-k3";
provider = {
google = {
options = {

View File

@@ -14,7 +14,7 @@
save = 1000000;
path = "$HOME/.local/share/zsh/.zsh_history";
};
syntaxHighlighting.enable = true;
fastSyntaxHighlighting.enable = true;
autosuggestion.enable = true;
initContent = ''
${lib.getExe pkgs.fastfetch}

View File

@@ -3,6 +3,7 @@
flake.modules.nixos.canopus =
{
lib,
pkgs,
system,
...
}@innerArgs:
@@ -14,6 +15,7 @@
]
++ [ inputs.nixos-hardware.nixosModules.asus-zephyrus-ga503 ];
boot.kernelParams = [ "nvidia-drm.modeset=1" ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
@@ -26,9 +28,18 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault innerArgs.config.hardware.enableRedistributableFirmware;
hardware = {
nvidia = {
modesetting.enable = true;
open = false;
nvidiaSettings = true;
};
cpu.amd.updateMicrocode = lib.mkDefault innerArgs.config.hardware.enableRedistributableFirmware;
};
services = {
xserver.videoDrivers = [ "nvidia" ];
power-profiles-daemon.enable = true;
upower.enable = true;
@@ -129,6 +140,11 @@
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.config.cudaSupport = true;
nixpkgs.hostPlatform = lib.mkDefault system;
environment.systemPackages = with pkgs; [
nvtopPackages.full
];
};
}

View File

@@ -0,0 +1,13 @@
{
flake.modules.nixos.desktop =
{ pkgs, ... }:
{
programs.gpu-screen-recorder = {
enable = true;
};
environment.systemPackages = with pkgs; [
gpu-screen-recorder-gtk
];
};
}