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 #!/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 # Command failure is script failure
set -e set -e

View File

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

View File

@ -5,7 +5,7 @@ in
{ {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
alsaUtils # Used by `sound` block alsa-utils # Used by `sound` block
lm_sensors # Used by `temperature` block lm_sensors # Used by `temperature` block
font-awesome # Icon font 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 mkdir -p /mnt/home/ambroisie/git/nix/config
cd /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> . git clone <this-repo> .
# Assuming you set up GPG key correctly # Assuming you set up GPG key correctly
git crypt unlock git crypt unlock

View File

@ -32,7 +32,7 @@ in
(pkgs.writeScriptBin "steam-run" '' (pkgs.writeScriptBin "steam-run" ''
#!/bin/sh #!/bin/sh
mkdir -p "${cfg.dataDir}" 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 git
gnutar gnutar
bash bash
nixUnstable nix
gzip gzip
]; ];
path = with pkgs; [ path = with pkgs; [
git git
gnutar gnutar
bash bash
nixUnstable nix
gzip gzip
]; ];
serviceConfig = { serviceConfig = {

View File

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

View File

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