diff --git a/README.md b/README.md index f81bb8d..48309c8 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,15 @@ These are not automated (yet) ```console cd ~ git init . -git remote add +git remote add origin rm .bashrc # Will be replaced by git copy git pull origin paperclip ``` #### sudo with fingerprint authentication +Add a fingerprint in the GNOME user account management settings. Then: + ```console sudo pam-auth-update ``` @@ -74,19 +76,16 @@ and select "Fingerprint authentication" in addition to the rest of the already s #### Firefox - Sign into Firefox -- Set DuckDuckGo as default search engine - `about:config` - `media.ffmpeg.vaapi.enabled` > `true` - - `media.ffvpx.enabled` > `false` - `media.rdd-vpx.enabled` > `false` - - `media.navigator.mediadatadecoder_vpx_enabled` > `true` - `extensions.pocket.enabled` > `false` - `extensions.pocket.api` > "" - `privacy.query_stripping.enabled` > `true` - `privacy.query_stripping.enabled.pbmode` > `true` - `dom.private-attribution.submission.enabled` > `false` - Enable autoclean in Cookie AutoDelete -- Sign into Bitwarden +- Sign into Bitwarden (mind the right account) #### GSConnect @@ -96,19 +95,14 @@ and select "Fingerprint authentication" in addition to the rest of the already s #### Google Chrome - Install uBlock Origin +- Enable `#enable-webrtc-pipewire-capturer` in `chrome://flags` #### neovim - `vim +PlugInstall` - `vim +UpdateRemotePlugins` -#### Chrome - -- Enable `#enable-webrtc-pipewire-capturer` in `chrome://flags` - #### Other - `awscli` (needs its configuration) -- `crowbar` - `gopass` -- `keyring` (mutt) diff --git a/mitamae/configuration.rb b/mitamae/configuration.rb index 686cd04..bd4b3f0 100644 --- a/mitamae/configuration.rb +++ b/mitamae/configuration.rb @@ -26,17 +26,22 @@ user node[:login_user] end -directory "/home/#{node[:login_user]}/Code/thoughtworks" do - mode '0755' - owner node[:login_user] - group node[:login_user] -end +%w{ + private + 1k5 +}.each do |dir| + directory "/home/#{node[:login_user]}/Code/#{dir}" do + mode '0755' + owner node[:login_user] + group node[:login_user] + end -remote_file "/home/#{node[:login_user]}/Code/thoughtworks/gitconfig" do - source 'files/tw_gitconfig' - mode '0644' - owner node[:login_user] - group node[:login_user] + remote_file "/home/#{node[:login_user]}/Code/#{dir}/gitconfig" do + source "files/#{dir}_gitconfig" + mode '0644' + owner node[:login_user] + group node[:login_user] + end end file "/home/#{node[:login_user]}/.npmrc" do diff --git a/mitamae/files/1k5_gitconfig b/mitamae/files/1k5_gitconfig new file mode 100644 index 0000000..9482a17 --- /dev/null +++ b/mitamae/files/1k5_gitconfig @@ -0,0 +1,6 @@ +[user] + email = moritz.heiber@1komma5grad.com + name = Moritz Heiber + signingkey = E9F5CB10 +[commit] + gpgsign = true diff --git a/mitamae/files/private_gitconfig b/mitamae/files/private_gitconfig new file mode 100644 index 0000000..2c776ef --- /dev/null +++ b/mitamae/files/private_gitconfig @@ -0,0 +1,6 @@ +[user] + email = hello@heiber.im + name = Moritz Heiber + signingkey = E3D5E107 +[commit] + gpgsign = true diff --git a/mitamae/files/tw_gitconfig b/mitamae/files/tw_gitconfig deleted file mode 100644 index b1d61f9..0000000 --- a/mitamae/files/tw_gitconfig +++ /dev/null @@ -1,6 +0,0 @@ -[user] - email = mheiber@thoughtworks.com - name = Moritz Heiber - signingkey = F75C32B1 -[commit] - gpgsign = true