@@ -1,39 +1,21 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
|
||||||
# core.gui
|
|
||||||
../../core/gui/gtk
|
|
||||||
../../core/gui/waybar
|
|
||||||
# ../../core/gui/ags
|
|
||||||
../../core/gui/browsers
|
|
||||||
../../core/gui/xdg
|
|
||||||
../../core/gui/discord
|
|
||||||
../../core/gui/hypr/cnst.nix
|
|
||||||
../../core/gui/utility
|
|
||||||
# core.tui
|
|
||||||
../../core/tui/git/cnst.nix
|
|
||||||
../../core/tui/shell/adam.nix
|
|
||||||
../../core/tui/wezterm
|
|
||||||
../../core/tui/alacritty
|
|
||||||
../../core/tui/neovim
|
|
||||||
# ../../core/tui/yazi
|
|
||||||
# core.services
|
|
||||||
../../core/services/mako
|
|
||||||
../../core/services/polkit
|
|
||||||
../../core/services/hypr
|
|
||||||
# ../../core/services/power-monitor
|
|
||||||
];
|
|
||||||
home = {
|
home = {
|
||||||
|
username = "adam";
|
||||||
|
homeDirectory = "/home/adam";
|
||||||
|
stateVersion = "23.11";
|
||||||
|
extraOutputsToInstall = ["doc" "devdoc"];
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# misc.gui
|
# misc.gui
|
||||||
virt-manager
|
virt-manager
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
nautilus
|
|
||||||
|
|
||||||
# misc.tui
|
# misc.tui
|
||||||
ranger
|
ranger
|
||||||
xcur2png
|
xcur2png
|
||||||
|
|
||||||
# misc.system
|
# misc.system
|
||||||
|
brightnessctl
|
||||||
bun
|
bun
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
qt5.qtwayland
|
qt5.qtwayland
|
||||||
@@ -49,9 +31,19 @@
|
|||||||
BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
TERM = "foot";
|
TERM = "foot";
|
||||||
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland";
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# disable manuals as nmd fails to build often
|
||||||
|
manual = {
|
||||||
|
html.enable = false;
|
||||||
|
json.enable = false;
|
||||||
|
manpages.enable = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# let HM manage itself when in standalone mode
|
||||||
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
./imports.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
package = lib.mkDefault pkgs.nix;
|
|
||||||
settings = {
|
|
||||||
experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
warn-dirty = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# TODO: Set your username
|
|
||||||
home = {
|
|
||||||
username = "adam";
|
|
||||||
homeDirectory = "/home/adam";
|
|
||||||
};
|
|
||||||
|
|
||||||
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
|
|
||||||
home.stateVersion = "24.05";
|
|
||||||
}
|
|
||||||
@@ -76,6 +76,7 @@
|
|||||||
./adampad
|
./adampad
|
||||||
"${mod}/core/boot.nix"
|
"${mod}/core/boot.nix"
|
||||||
"${mod}/core/network/adampad.nix"
|
"${mod}/core/network/adampad.nix"
|
||||||
|
"${mod}/core/boot.nix"
|
||||||
|
|
||||||
"${mod}/hardware/adampad.nix"
|
"${mod}/hardware/adampad.nix"
|
||||||
|
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
# AUTOLOGIN
|
# AUTOLOGIN
|
||||||
# initial_session = {
|
# initial_session = {
|
||||||
# command = "${pkgs.hyprland}/bin/Hyprland";
|
# command = "${pkgs.hyprland}/bin/Hyprland";
|
||||||
# user = "cnst";
|
# user = "adam";
|
||||||
# };
|
# };
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session --asterisks";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -r --remember-session --asterisks";
|
||||||
user = "cnst";
|
user = "adam";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user