modularize desktop components

This commit is contained in:
2024-04-13 16:42:51 +02:00
parent d3da8ba3ac
commit e0176ec2d9
14 changed files with 141 additions and 96 deletions

View File

@@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "jonas";
@@ -17,31 +18,16 @@
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = [
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
pkgs.chromium
pkgs.firefox
pkgs.fzf
pkgs.nil
pkgs.nixpkgs-fmt
pkgs.poetry
pkgs.thefuck
pkgs.vscode
home.packages = with pkgs; [
chromium
firefox
fzf
nil
nixpkgs-fmt
poetry
thefuck
vim
vscode
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
@@ -75,7 +61,7 @@
# /etc/profiles/per-user/jonas/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
# EDITOR = "emacs";
EDITOR = "vim";
};
# Let Home Manager install and manage itself.
@@ -117,4 +103,11 @@
theme = "bureau";
};
};
# wayland.windowManager.hyprland = {
# enable = true;
# settings = {
# "$mod" = "SUPER";
# };
# };
}