Compare commits

..

No commits in common. "59bd3590a4bc9be70091ac5c31cdf3669c8a670f" and "a7c04b59edc1765ebff4acf33cb7b92331d4f2e2" have entirely different histories.

5 changed files with 10 additions and 21 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { { config, pkgs, ... }: {
users.users.${config.user}.shell = pkgs.fish; users.users.${config.user}.shell = pkgs.fish;
programs.fish.enable = programs.fish.enable =
@ -11,10 +11,7 @@
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAliases = { shellAliases = { ls = "exa"; };
ls = "exa";
trash = lib.mkIf pkgs.stdenv.isLinux "${pkgs.trash-cli}/bin/trash-put";
};
functions = { functions = {
commandline-git-commits = { commandline-git-commits = {
description = "Insert commit into commandline"; description = "Insert commit into commandline";
@ -93,7 +90,6 @@
sc = "systemctl"; sc = "systemctl";
scs = "systemctl status"; scs = "systemctl status";
m = "make"; m = "make";
t = "trash";
# Vim (overwritten by Neovim) # Vim (overwritten by Neovim)
v = "vim"; v = "vim";

View File

@ -45,6 +45,12 @@
]; ];
}; };
home-manager.users.${config.user} = {
programs.fish.shellAbbrs.t = "trash";
};
}; };
} }

View File

@ -5,20 +5,15 @@
config = lib.mkIf (config.gaming.steam.enable && pkgs.stdenv.isLinux) { config = lib.mkIf (config.gaming.steam.enable && pkgs.stdenv.isLinux) {
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ]; unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
steam
# Enable terminal interaction # Enable terminal interaction
steamPackages.steamcmd steamPackages.steamcmd
steam-tui steam-tui
]; ];
}; };
} }

View File

@ -3,7 +3,6 @@
imports = [ imports = [
./audio.nix ./audio.nix
./boot.nix ./boot.nix
./disk.nix
./keyboard.nix ./keyboard.nix
./monitors.nix ./monitors.nix
./mouse.nix ./mouse.nix

View File

@ -1,7 +0,0 @@
{ config, pkgs, lib, ... }: {
# Enable fstrim, which tracks free space on SSDs for garbage collection
# More info: https://www.reddit.com/r/NixOS/comments/rbzhb1/if_you_have_a_ssd_dont_forget_to_enable_fstrim/
services.fstrim.enable = true;
}