all: remove package aliases

This commit is contained in:
Bruno BELANYI 2022-09-29 21:58:48 +02:00
parent 84217afd07
commit 5e021e6436
8 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bitwarden-cli git gnupg jq nixFlakes
#! nix-shell -i bash -p bitwarden-cli git gnupg jq nix
# Command failure is script failure
set -e

View file

@ -9,10 +9,10 @@ in
enable = mkDisableOption "git configuration";
};
config.home.packages = with pkgs.gitAndTools; lib.mkIf cfg.enable [
gitAndTools.git-absorb
gitAndTools.git-revise
gitAndTools.tig
config.home.packages = with pkgs; lib.mkIf cfg.enable [
git-absorb
git-revise
tig
];
config.programs.git = lib.mkIf cfg.enable {
@ -23,7 +23,7 @@ in
userName = "Bruno BELANYI";
# I want the full experience
package = pkgs.gitAndTools.gitFull;
package = pkgs.gitFull;
aliases = {
git = "!git";

View file

@ -5,7 +5,7 @@ in
{
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
alsaUtils # Used by `sound` block
alsa-utils # Used by `sound` block
lm_sensors # Used by `temperature` block
font-awesome # Icon font
];

View file

@ -46,7 +46,7 @@ vim /mnt/etc/nixos/hardware-configuration.nix
mkdir -p /mnt/home/ambroisie/git/nix/config
cd /mnt/home/ambroisie/git/nix/config
nix-env -iA nixos.git nixos.nixFlakes nixos.git-crypt
nix-env -iA nixos.git nixos.nix nixos.git-crypt
git clone <this-repo> .
# Assuming you set up GPG key correctly
git crypt unlock

View file

@ -32,7 +32,7 @@ in
(pkgs.writeScriptBin "steam-run" ''
#!/bin/sh
mkdir -p "${cfg.dataDir}"
HOME="${cfg.dataDir}" exec ${pkgs.steam-run-native}/bin/steam-run "$@"
HOME="${cfg.dataDir}" exec ${pkgs.steam-run}/bin/steam-run "$@"
'')
];
};

View file

@ -15,14 +15,14 @@ in
git
gnutar
bash
nixUnstable
nix
gzip
];
path = with pkgs; [
git
gnutar
bash
nixUnstable
nix
gzip
];
serviceConfig = {

View file

@ -15,7 +15,7 @@ in
config = lib.mkIf cfg.enable (lib.mkMerge [
{
nix = {
package = pkgs.nixFlakes;
package = pkgs.nix;
settings = {
experimental-features = [ "nix-command" "flakes" ];

View file

@ -13,7 +13,7 @@ in
# Nice wallpaper
services.xserver.displayManager.lightdm.background =
let
wallpapers = "${pkgs.plasma-workspace-wallpapers}/share/wallpapers";
wallpapers = "${pkgs.plasma5Packages.plasma-workspace-wallpapers}/share/wallpapers";
in
"${wallpapers}/summer_1am/contents/images/2560x1600.jpg";