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;
programs.fish.enable =
@ -11,10 +11,7 @@
programs.fish = {
enable = true;
shellAliases = {
ls = "exa";
trash = lib.mkIf pkgs.stdenv.isLinux "${pkgs.trash-cli}/bin/trash-put";
};
shellAliases = { ls = "exa"; };
functions = {
commandline-git-commits = {
description = "Insert commit into commandline";
@ -93,7 +90,6 @@
sc = "systemctl";
scs = "systemctl status";
m = "make";
t = "trash";
# Vim (overwritten by Neovim)
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) {
hardware.steam-hardware.enable = true;
unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
environment.systemPackages = with pkgs; [
steam
# Enable terminal interaction
steamPackages.steamcmd
steam-tui
];
};
}

View File

@ -3,7 +3,6 @@
imports = [
./audio.nix
./boot.nix
./disk.nix
./keyboard.nix
./monitors.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;
}