update nvidia driver, install ghostty and other things

This commit is contained in:
Ulic-youthlic 2024-12-28 18:56:04 +08:00
parent 9a525dadfc
commit 19ef41633b
11 changed files with 319 additions and 166 deletions

View file

@ -16,10 +16,6 @@
./spotify.nix
];
programs.fish.enable = true;
# programs.coolercontrol = {
# enable = true;
# nvidiaSupport = true;
# };
users.users.david.shell = pkgs.fish;
users.users.david.openssh.authorizedKeys.keyFiles = [
./tytonidae.pub
@ -31,5 +27,7 @@
vlc
btop
handbrake
wechat-uos
nvtopPackages.full
];
}

View file

@ -1,6 +1,7 @@
{
pkgs,
config,
ghostty,
...
}:
{
@ -12,6 +13,7 @@
./rime-ice.nix
./firefox.nix
./foot
./ghostty
];
xdg.userDirs = {
enable = true;
@ -38,6 +40,7 @@
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-source-record
input-overlay
];
};
home.packages = with pkgs; [
@ -47,9 +50,9 @@
which
gnused
gnutar
bat
gawk
zstd
gnupg
tree
nerd-fonts.victor-mono
ouch
@ -57,6 +60,7 @@
qq
telegram-desktop
taplo
ghostty.packages."${pkgs.system}".default
];
programs.ssh = {
enable = true;
@ -78,4 +82,18 @@
};
};
};
programs.chromium = {
enable = true;
commandLineArgs = [
"--ozone-platform=wayland"
"--enable-wayland-ime=true"
"--enable-features=UseOzonePlatform"
];
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}

View file

@ -39,10 +39,10 @@
enableFishIntegration = true;
enable = true;
};
zellij = {
enable = true;
enableFishIntegration = true;
};
# zellij = {
# enable = true;
# enableFishIntegration = true;
# };
direnv = {
enable = true;
nix-direnv.enable = true;

View file

@ -0,0 +1,19 @@
font-family = FiraCode Nerd Font
font-feature = "calt=1"
font-feature = "clig=1"
font-feature = "liga=1"
font-feature = "cv01"
font-feature = "cv02"
font-feature = "cv06"
font-feature = "zero"
font-feature = "onum"
font-feature = "cv17"
font-feature = "ss05"
font-feature = "ss03"
font-feature = "cv16"
font-feature = "cv31"
font-feature = "cv29"
font-feature = "cv30"
font-size = 17
theme = ayu
background-opacity = 0.8

View file

@ -0,0 +1,9 @@
{
config,
...
}:
{
xdg.configFile."ghostty/config" = {
source = config.lib.file.mkOutOfStoreSymlink ./config/config;
};
}

View file

@ -1,8 +1,7 @@
{ pkgs, helix, ... }:
{ ... }:
{
programs.helix = {
enable = true;
package = helix.packages."${pkgs.system}".default;
defaultEditor = true;
settings =
let

View file

@ -1,9 +1,12 @@
{ ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
config = {
hardware.graphics.enable32Bit = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
};
}