some resturcturing of hm 3
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../extra/mako
|
||||
./rofi
|
||||
./waybar
|
||||
./anyrun
|
||||
./mako
|
||||
./gtk
|
||||
./xdg
|
||||
];
|
||||
|
||||
@@ -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,
|
||||
lib,
|
||||
@@ -7,10 +5,8 @@
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
../../core/cnst.nix
|
||||
../../extra/cnst.nix
|
||||
./imports.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
@@ -24,7 +20,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# TODO: Set your username
|
||||
home = {
|
||||
username = "cnst";
|
||||
homeDirectory = "/home/cnst";
|
||||
@@ -32,7 +27,6 @@
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
|
||||
33
home/users/cnst/imports.nix
Normal file
33
home/users/cnst/imports.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user