Compare commits

..

5 Commits

8 changed files with 40 additions and 13 deletions

View File

@ -8,9 +8,9 @@
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
./system/hardware-configuration.nix ./system/hardware-configuration.nix
./services ./services
../../modules/system.nix
../../modules/sops.nix
../../modules/opentablet.nix ../../modules/opentablet.nix
../../modules/sops.nix
../../modules/system.nix
../../programs/flatpak.nix ../../programs/flatpak.nix
../../programs/hyprland.nix ../../programs/hyprland.nix
../../programs/steam.nix ../../programs/steam.nix

View File

@ -5,6 +5,7 @@
./btop.nix ./btop.nix
./direnv.nix ./direnv.nix
./eza.nix ./eza.nix
./gpg.nix
./mopidy.nix ./mopidy.nix
./nh.nix ./nh.nix
./nix-index.nix ./nix-index.nix

View File

@ -3,7 +3,8 @@
config, config,
lib, lib,
... ...
}: with lib; let }:
with lib; let
emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages ( emacsDefaultPackage = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages (
epkgs: [ epkgs: [
epkgs.vterm epkgs.vterm

12
users/modules/gpg.nix Normal file
View File

@ -0,0 +1,12 @@
{pkgs, ...}:{
programs.gpg = {
enable = true;
mutableKeys = true;
mutableTrust = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-emacs;
};
}

View File

@ -70,8 +70,15 @@ in {
border_size = 2; border_size = 2;
"col.active_border" = "rgb(81a1c1) rgb(a3be8c) 45deg"; "col.active_border" = "rgb(81a1c1) rgb(a3be8c) 45deg";
"col.inactive_border" = "rgb(4c566a)"; "col.inactive_border" = "rgb(4c566a)";
layout = "dwindle"; layout = "master";
}; };
master = {
orientation = "center";
new_status = "inherit";
};
workspace = [
"2, layoutopt:orientation:bottom"
];
decoration = { decoration = {
rounding = 5; rounding = 5;
# blur = { # blur = {

View File

@ -1,6 +1,7 @@
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
themeFile = "Nord";
settings = { settings = {
enable_audio_bell = true; enable_audio_bell = true;
enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true"; enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true";

View File

@ -1,5 +1,4 @@
{ inputs, ... }: {inputs, ...}: {
{
imports = [ imports = [
inputs.nix-index-database.hmModules.nix-index inputs.nix-index-database.hmModules.nix-index
]; ];

View File

@ -1,4 +1,15 @@
{config, ...}: { {config, ...}: let
signature = ''
Lucien Phundrak Cartier-Tilet
https://phundrak.com (Français)
https://phundrak.com/en (English)
Sent from GNU/Emacs
'';
in {
home.file.".signature" = {
target = ".signature";
text = signature;
};
accounts.email = { accounts.email = {
maildirBasePath = "Mail"; maildirBasePath = "Mail";
accounts."lucien@phundrak.com" = { accounts."lucien@phundrak.com" = {
@ -12,12 +23,7 @@
]; ];
passwordCommand = "cat ${config.sops.secrets.emailPassword.path}"; passwordCommand = "cat ${config.sops.secrets.emailPassword.path}";
signature = { signature = {
text = '' text = signature;
Lucien Phundrak Cartier-Tilet
https://phundrak.com (Français)
https://phundrak.com/en (English)
Sent from GNU/Emacs
'';
showSignature = "append"; showSignature = "append";
}; };
userName = "lucien@phundrak.com"; userName = "lucien@phundrak.com";