From a681c1d4dee429dfb4a967c991dd23b5401af61a Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Wed, 7 Sep 2022 13:50:01 +0200 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20../../nixos/configuration.nix=20=09modifi=C3=A9=C2=A0:=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20../../nixos/packages.nix=20=09modifi=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20i3config=20=09modifi=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20../dunst.nix=20=09modifi?= =?UTF-8?q?=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20../home.nix=20=09modifi?= =?UTF-8?q?=C3=A9=C2=A0:=20=20=20=20=20=20=20=20=20../packages.nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/dell-5590/nixos/configuration.nix | 4 ++++ hosts/dell-5590/nixos/packages.nix | 1 + hosts/dell-5590/nixpkgs/configs/i3config | 7 ++----- hosts/dell-5590/nixpkgs/dunst.nix | 2 +- hosts/dell-5590/nixpkgs/home.nix | 1 + hosts/dell-5590/nixpkgs/packages.nix | 3 +++ 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/hosts/dell-5590/nixos/configuration.nix b/hosts/dell-5590/nixos/configuration.nix index 7b6fc5a..9628c6e 100644 --- a/hosts/dell-5590/nixos/configuration.nix +++ b/hosts/dell-5590/nixos/configuration.nix @@ -138,5 +138,9 @@ hashedPassword = "$6$7m77oPQxa$W9YnRLo1X2eqztBHwpoH8diHGkBno5O39AMyL9Qm8y8I6uW63H2Nwx4p239OG5zhOxA8J1lZvHTQ3hKPSP9mT/"; }; }; +nix = { + package = pkgs.nixfmt; + extraOptions = ''experimental-features = nix-command fmt''; +}; } diff --git a/hosts/dell-5590/nixos/packages.nix b/hosts/dell-5590/nixos/packages.nix index 85b6714..e570a0e 100644 --- a/hosts/dell-5590/nixos/packages.nix +++ b/hosts/dell-5590/nixos/packages.nix @@ -22,5 +22,6 @@ font-manager utf8proc pam_u2f + zlib ]; } diff --git a/hosts/dell-5590/nixpkgs/configs/i3config b/hosts/dell-5590/nixpkgs/configs/i3config index ab20a70..a0156f6 100644 --- a/hosts/dell-5590/nixpkgs/configs/i3config +++ b/hosts/dell-5590/nixpkgs/configs/i3config @@ -138,16 +138,13 @@ bindsym Print exec scrot -u '%Y-%m-%d-%T_$wx$h_scrot.png' -e 'mv $f ~/Screenshot bindsym $mod+Return exec "LIBGL_ALWAYS_SOFTWARE=1 alacritty" bindsym $mod+m exec "i3-sensible-terminal -e ncmpcpp" -# Assigne les applications aux workspaces -assign [class="firefox"] $ws3 -assign [class="emacs"] $ws2 - # programmes au démarrage exec --no-startup-id nm-applet exec --no-startup-id nextcloud exec --no-startup-id blueman-applet exec --no-startup-id i3-msg 'workspace $ws9; exec keepassxc;' -exec --no-startup-id i3-msg 'workspace $ws5; exec emacs;' +#exec --no-startup-id i3-msg 'workspace $ws5; exec emacs;' exec --no-startup-id i3-msg 'workspace $ws1; exec alacritty;' +exec --no-startup-id i3-msg 'workspace $ws1; exec ferdi;' exec --no-startup-id i3-msg 'workspace $ws2; exec thunderbird;' exec --no-startup-id i3-msg 'workspace $ws3; exec firefox;' diff --git a/hosts/dell-5590/nixpkgs/dunst.nix b/hosts/dell-5590/nixpkgs/dunst.nix index 7f710c8..030913e 100644 --- a/hosts/dell-5590/nixpkgs/dunst.nix +++ b/hosts/dell-5590/nixpkgs/dunst.nix @@ -105,7 +105,7 @@ # # If this option is set to mouse or keyboard, the monitor option # will be ignored. - follow = "none"; + follow = "mouse"; # Should a notification popped up from history be sticky or timeout # as if it would normally do. diff --git a/hosts/dell-5590/nixpkgs/home.nix b/hosts/dell-5590/nixpkgs/home.nix index 6ca50ee..c8ad20c 100644 --- a/hosts/dell-5590/nixpkgs/home.nix +++ b/hosts/dell-5590/nixpkgs/home.nix @@ -22,3 +22,4 @@ }; xsession.numlock.enable = true; } + diff --git a/hosts/dell-5590/nixpkgs/packages.nix b/hosts/dell-5590/nixpkgs/packages.nix index 5c835ee..e49fc16 100644 --- a/hosts/dell-5590/nixpkgs/packages.nix +++ b/hosts/dell-5590/nixpkgs/packages.nix @@ -45,5 +45,8 @@ exa bat vimPlugins.vim-markdown-composer + neovim + python3 + ferdi ]; }