This commit is contained in:
afoucaultc 2026-07-07 15:22:59 +02:00
parent 39f608c4ca
commit 5e9cf56185
13 changed files with 60 additions and 42 deletions

View file

@ -68,3 +68,30 @@ nix search nixpkgs nom_du_package
2. Package pas encore dans nixpkgs : chercher un flake upstream officiel (packages.<system>.degault), ajouter comme input et le référencer
### Machine ancienne
Bien utiliser la version `laptop` qui prend la plupart des paquets par cachix (pour éviter la compilation en locale qui dépasse les capacités de la RAM)
### Ensuite
#### Thunderbird
Générer clé GPG
`gpg --quick-generate-key "afoucaultc" default default never`
Afficher la clé
`gpg --list-secret-keys --keyid-format=long`
Initialiser avec pass (empreinte = dernière partie après sec)
`pass init <empreinte>`
Fermer en partie les permissions sur .gnupg
```bash
chmod 700 ~/.gnupg
chmod 600 ~/.gnupg/* 2>/dev/null
find ~/.gnupg -type d -exec chmod 700 {} \;
find ~/.gnupg -type f -exec chmod 600 {} \;
```
Lancer le proton mail bridge
```shell
protonmail-bridge --cli
>>> login #(puis se login)
```
Ensuite normalement c'est bon, taper "info" pour récupérer le mot de passe
Puis `cert export` et le mettre dans le home par exemple. Ensuite :
`parametres -> vie privée et sécurité -> certificats -> gérer -> autorités -> importer`
Importer et cocher site web.
Puis se connecter à son compte sur thunderbird : il faut faire `info` sur le protonmail bridge, pour récupérer son mot de passe, puis valider l'exception pour le certificat.

View file

@ -9,5 +9,5 @@ hl.on("hyprland.start", function()
-- hl.exec_cmd("hyprsunset")
-- hl.exec_cmd("xsettingsd")
-- hl.exec_cmd("nwg-look -a")
hl.exec_cmd("protonmail-bridge")
hl.exec_cmd("protonmail-bridge --noninteractive")
end)

View file

@ -1,11 +1,11 @@
wallpaper {
monitor = eDP-1
path = /home/afoucaultc/Pictures/Wallpapers/nix-wallpaper.png
path = /home/afoucaultc/Pictures/Wallpapers/wallpaper.jpg
fit_mode = cover
}
wallpaper {
monitor = HDMI-A-1
path = /home/afoucaultc/Pictures/Wallpapers/nix-wallpaper.png
path = /home/afoucaultc/Pictures/Wallpapers/wallpaper.jpg
fit_mode = cover
}
splash = false

View file

@ -2,10 +2,10 @@
Count=1
[Window0Column0]
Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;
Notebook0Height=609
Notebook0ActiveTab=2
ColumnWidth=641
Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;Objects;
Notebook0Height=921
Notebook0ActiveTab=1
ColumnWidth=540
NotebookCount=1
BeforeCanvas=false
@ -28,10 +28,8 @@ state6=
dialogs6=FilterGallery;
state7=
dialogs7=FontCollections;
state8=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Objects;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=360\nheight=520\n
dialogs8=Objects;
state9=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Preferences;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=1447\nheight=672\n
dialogs9=Preferences;
state10=
dialogs10=XMLEditor;
count=10
state8=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Preferences;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=1447\nheight=672\n
dialogs8=Preferences;
state9=
dialogs9=XMLEditor;
count=9

View file

@ -3,16 +3,16 @@ L'extension « Optimized PNG » n'a pas été chargée, car une dépendance e
emplacement: chemin
chaîne: optipng
L'extension « Export to PDF via Scribus » n'a pas été chargée, car une dépendance est manquante. Dépendance:
type: executable
emplacement: chemin
chaîne: scribus
L'extension « Formula (typst) » n'a pas été chargée, car une dépendance est manquante. Dépendance:
type: executable
emplacement: chemin
chaîne: typst
L'extension « Export to PDF via Scribus » n'a pas été chargée, car une dépendance est manquante. Dépendance:
type: executable
emplacement: chemin
chaîne: scribus
L'extension « XFIG Input » n'a pas été chargée, car une dépendance est manquante. Dépendance:
type: executable
emplacement: chemin

View file

@ -596,7 +596,7 @@
id="toolbox" />
<group
id="fillstroke"
page="2" />
page="1" />
<group
id="filtereffects" />
<group
@ -1106,10 +1106,10 @@
org.inkscape.input.svg.scale="auto" />
<group
id="desktop"
style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:0.62740157;font-size:8px;fill:#6c71c4">
style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:2.64944882;font-size:8px;fill:#1a1b26">
<group
width="1122"
height="760"
width="1912"
height="1072"
x="0"
y="0"
maximized="1"

View file

@ -1 +1 @@
/nix/store/d0jmg6rl00w0f105z3z8g7344glg2jlz-home-manager-files/.config/kitty/diff.conf
/nix/store/rfw72smdji7qh183n7jr7ms7rx7xx2bl-home-manager-files/.config/kitty/diff.conf

View file

@ -1 +1 @@
/nix/store/d0jmg6rl00w0f105z3z8g7344glg2jlz-home-manager-files/.config/kitty/kitty.conf
/nix/store/rfw72smdji7qh183n7jr7ms7rx7xx2bl-home-manager-files/.config/kitty/kitty.conf

View file

@ -1,13 +1,5 @@
-- (.config/nvim/lua/neoconf/autocmd.lua)
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
vim.g.loaded_python3_provider = nil
vim.g.python3_host_prog = "/etc/profiles/per-user/afoucaultc/bin/python3"
pcall(vim.cmd, "silent! python3 pass") -- force la ré-résolution
end,
})
vim.api.nvim_create_autocmd("BufWritePre", {
callback = function()
vim.lsp.buf.format({ async = false })

View file

@ -1,10 +1,8 @@
return {
{
"Tsuzat/NeoSolarized.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
vim.cmd([[ colorscheme NeoSolarized ]])
end,
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
}

View file

@ -41,3 +41,5 @@ vim.o.confirm = true
-- spell checking
vim.opt.spell = true
vim.opt.spelllang = "fr"
-- theme
vim.cmd("colorscheme tokyonight-night")

View file

@ -2,8 +2,8 @@
{
stylix = {
enable = true;
targets.gtksourceview.enable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/solarized-dark.yaml";
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
cursor = {
package = pkgs.bibata-cursors;
@ -25,6 +25,6 @@
terminal = 12;
};
};
polarity = "dark";
targets.gtksourceview.enable = false;
};
}

View file

@ -18,6 +18,7 @@
pciutils
usbutils
inxi
gnupg
];
}