some resturcturing of hm 3

This commit is contained in:
cnst
2024-07-07 10:14:40 +02:00
parent 38dd844149
commit c13b159ea0
4 changed files with 35 additions and 8 deletions

View File

@@ -5,10 +5,10 @@
... ...
}: { }: {
imports = [ imports = [
../../extra/mako
./rofi ./rofi
./waybar ./waybar
./anyrun ./anyrun
./mako
./gtk ./gtk
./xdg ./xdg
]; ];

View File

@@ -1,5 +1,3 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{ {
inputs, inputs,
lib, lib,
@@ -7,10 +5,8 @@
pkgs, pkgs,
... ...
}: { }: {
# You can import other home-manager modules here
imports = [ imports = [
../../core/cnst.nix ./imports.nix
../../extra/cnst.nix
]; ];
nix = { nix = {
@@ -24,7 +20,6 @@
}; };
}; };
# TODO: Set your username
home = { home = {
username = "cnst"; username = "cnst";
homeDirectory = "/home/cnst"; homeDirectory = "/home/cnst";
@@ -32,7 +27,6 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch"; systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion

View File

@@ -0,0 +1,33 @@
{pkgs, ...}: {
imports = [
# CORE
# .gui
../../core/gui
# .tui
../../core/tui/git/cnst.nix
../../core/tui/shell/cnst.nix
# .system
../../core/system/polkit.nix
# EXTRA
../../extra/foot
../../extra/firefox
../../extra/neovim
];
home = {
packages = with pkgs; [
# .applications
alacritty
keepassxc
qbittorrent
webcord
calcurse
virt-manager
];
sessionVariables = {
BROWSER = "firefox";
EDITOR = "nvim";
TERM = "foot";
};
};
}