feat: niri, waybar ricing

This commit is contained in:
Florian Schmitt 2025-01-13 00:32:27 +03:00
parent 3e43aed875
commit 328ecdffc3
11 changed files with 780 additions and 92 deletions

View file

@ -1,5 +1,5 @@
# cli programs should be available on servers and desktop
{ config, pkgs, ... }:
{ pkgs, ... }:
{
programs.zsh.enable = true;
programs.fzf = {
@ -7,16 +7,6 @@
keybindings = true;
};
# programs.neovim = {
# enable = true;
# defaultEditor = true;
# package = pkgs.neovim;
# viAlias = true;
# vimAlias = true;
#};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
ansible
atuin
@ -50,7 +40,9 @@
mpc-cli
mpd
mpv
mtr
neofetch
netcat-gnu
nixd
neovim
ollama

View file

@ -57,11 +57,12 @@
};
};
droidcam.enable = true;
dconf.enable = true;
firefox.enable = true;
firefox.languagePacks = [ "fr" ];
firefox.nativeMessagingHosts.packages = [ pkgs.passff-host ];
hyprland.enable = true;
niri.enable = true;
ssh.askPassword = pkgs.lib.mkForce "${pkgs.ksshaskpass.out}/bin/ksshaskpass"; # conflict between kde and gnome cf. https://github.com/NixOS/nixpkgs/issues/75867
ssh.startAgent = true;
@ -78,6 +79,12 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-kde ];
xdgOpenUsePortal = true;
};
# no kde bloat
environment.plasma6.excludePackages = with pkgs.kdePackages; [
baloo
@ -125,6 +132,7 @@
digikam
eaglemode
filezilla
ghostty
gimp-with-plugins
hunspell
hunspellDicts.fr-moderne
@ -136,6 +144,7 @@
mumble
nextcloud-client
obsidian
pcmanfm
signal-desktop
thunderbird
tigervnc
@ -147,9 +156,12 @@
niri
waybar
fuzzel
alacritty
gnome-tweaks
networkmanagerapplet
rose-pine-gtk-theme
themechanger
pavucontrol
xwayland-satellite
];
# Do not restart the display manager automatically

View file

@ -20,12 +20,8 @@ let
'';
in
{
# TODO can we automate the installation of home-manager ?
# sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
imports = [ <home-manager/nixos> ];
# Let Home Manager install and manage itself.
#programs.home-manager.enable = true;
home-manager.useGlobalPkgs = true;
users.users.mrflos = {
isNormalUser = true;
@ -71,24 +67,40 @@ in
# ];
home.file = {
"./.config/kitty/" = {
force = true;
source = ../dotfiles/kitty;
recursive = true;
};
"./.config/nvim/" = {
source = ../dotfiles/nvim;
recursive = true;
};
"./.config/lazygit/" = {
force = true;
source = ../dotfiles/lazygit;
recursive = true;
};
"./.config/niri/" = {
force = true;
source = ../dotfiles/niri;
recursive = true;
};
"./.config/nvim/" = {
force = true;
source = ../dotfiles/nvim;
recursive = true;
};
"./.config/tmux/" = {
force = true;
source = ../dotfiles/tmux;
recursive = true;
};
"./.config/waybar/" = {
force = true;
source = ../dotfiles/waybar;
recursive = true;
};
};
home.sessionVariables = {
EDITOR = "nvim";