refresh mac install
This commit is contained in:
parent
8212c6050e
commit
e7e6be0f9e
4 changed files with 28 additions and 53 deletions
|
@ -1,15 +1,8 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
nixpkgs-nixos-unstable-and-unfree,
|
||||
...
|
||||
}: let
|
||||
{ config, pkgs, inputs, lib, nixpkgs-nixos-unstable-and-unfree, ... }:
|
||||
let
|
||||
system_cert_bundle_path = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
form3_cert_path = ./form3-palo-alto.pem;
|
||||
form3_cert_bundle =
|
||||
builtins.toFile "form3-cert-bundle.crt"
|
||||
form3_cert_bundle = builtins.toFile "form3-cert-bundle.crt"
|
||||
(builtins.readFile system_cert_bundle_path
|
||||
+ builtins.readFile form3_cert_path);
|
||||
in {
|
||||
|
@ -27,14 +20,8 @@ in {
|
|||
};
|
||||
|
||||
fonts.fontDir.enable = true;
|
||||
fonts.fonts = with pkgs; [
|
||||
(runCommand "berkeley-fonts" {} ''
|
||||
mkdir -vp "$out/share/fonts/opentype"
|
||||
mkdir -vp "$out/share/fonts/truetype"
|
||||
${pkgs.unzip}/bin/unzip ${../../fonts.zip} \*.otf -d $out/share/fonts/opentype
|
||||
${pkgs.unzip}/bin/unzip ${../../fonts.zip} \*.ttf -d $out/share/fonts/truetype
|
||||
|
||||
'')
|
||||
fonts.fonts = with pkgs; [
|
||||
nerdfonts
|
||||
fira-code
|
||||
font-awesome
|
||||
|
@ -58,9 +45,11 @@ in {
|
|||
imports = [ ];
|
||||
home.packages = with pkgs; [ awscli kubectl cargo-update ];
|
||||
programs.git.userEmail = lib.mkForce "cyryl.plotnicki@form3.tech";
|
||||
programs.git.extraConfig.user.signingkey = "6441B1BC81F8FB1561C9AFF5534222210FE423ED";
|
||||
programs.git.extraConfig.commit.gpgsign = true;
|
||||
programs.git.extraConfig."url \"git@github.com:\"".insteadOf = "https://github.com/";
|
||||
programs.git.extraConfig = {
|
||||
user.signingkey = "6441B1BC81F8FB1561C9AFF5534222210FE423ED";
|
||||
commit.gpgsign = true;
|
||||
"url \"git@github.com:\"".insteadOf = "https://github.com/";
|
||||
};
|
||||
programs.gpg.enable = true;
|
||||
programs.gpg.homedir = "/Users/cyryl/.gnupg";
|
||||
programs.zsh.loginExtra = ''
|
||||
|
|
|
@ -7,10 +7,8 @@
|
|||
ext.pass-audit
|
||||
ext.pass-update
|
||||
]))
|
||||
inputs.alejandra.packages.${system}.default
|
||||
age
|
||||
android-tools
|
||||
appimage-run
|
||||
aria
|
||||
bc
|
||||
bfg-repo-cleaner
|
||||
|
@ -29,14 +27,11 @@
|
|||
genpass
|
||||
git
|
||||
gitRepo
|
||||
hsetroot
|
||||
htop
|
||||
imagemagick
|
||||
jmtpfs
|
||||
jpeginfo
|
||||
jq
|
||||
kopia
|
||||
minicom
|
||||
nix-du
|
||||
nix-index
|
||||
nix-top
|
||||
|
@ -44,10 +39,6 @@
|
|||
nixpkgs-fmt
|
||||
nmap
|
||||
nvd
|
||||
par2cmdline
|
||||
pciutils
|
||||
ranger
|
||||
restic
|
||||
ripgrep-all
|
||||
rustup
|
||||
sops
|
||||
|
@ -56,7 +47,6 @@
|
|||
unzip
|
||||
wget
|
||||
whois
|
||||
woeusb
|
||||
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".youtube-dl
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
username = "cyryl";
|
||||
{ config, pkgs, inputs, lib, ... }:
|
||||
let username = "cyryl";
|
||||
in {
|
||||
home.sessionVariables = {
|
||||
LC_ALL = "en_GB.UTF-8";
|
||||
|
@ -17,8 +12,8 @@ in {
|
|||
home.packages = with pkgs; [ ];
|
||||
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
home.stateVersion = "22.05";
|
||||
home.homeDirectory = lib.mkDefault "/home/${username}";
|
||||
home.stateVersion = "22.11";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
|
@ -28,7 +23,6 @@ in {
|
|||
|
||||
./programs.nix
|
||||
./programs/emacs/home.nix
|
||||
./programs/helix.nix
|
||||
./programs/newsboat.nix
|
||||
./programs/ssh.nix
|
||||
./programs/tmux.nix
|
||||
|
|
|
@ -1,22 +1,24 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
appimage-run
|
||||
atop
|
||||
btop
|
||||
btrfs-progs
|
||||
glibcLocales
|
||||
hsetroot
|
||||
lm_sensors
|
||||
minicom
|
||||
nerdfonts
|
||||
pciutils
|
||||
powertop
|
||||
ranger
|
||||
restic
|
||||
topgrade
|
||||
wirelesstools
|
||||
woeusb
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue