This commit is contained in:
cnst
2024-07-31 09:06:39 +02:00
parent 80f2d6797d
commit 920771ce28
11 changed files with 47 additions and 65 deletions

View File

@@ -1,30 +0,0 @@
{
lib,
self,
inputs,
...
}: {
imports = [
# inputs.matugen.nixosModules.default
# inputs.nix-index-db.hmModules.nix-index
# inputs.tailray.homeManagerModules.default
# self.nixosModules.theme
];
home = {
username = "cnst";
homeDirectory = "/home/cnst";
stateVersion = "23.11";
extraOutputsToInstall = ["doc" "devdoc"];
};
# 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;
}

View File

@@ -8,10 +8,10 @@
systemd = {
variables = ["--all"];
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
# extraCommands = [
# "systemctl --user stop graphical-session.target"
# "systemctl --user start hyprland-session.target"
# ];
};
};
}

View File

@@ -6,6 +6,12 @@
];
env = [
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"XDG_SESSION_DESKTOP, Hyprland"
"GDK_BACKEND, wayland"
"SDL_VIDEODRIVER, wayland"
"QT_QPA_PLATFORM, wayland;xcb"
];
input = {

View File

@@ -37,6 +37,7 @@
"center, ^(xarchiver)$"
"float, ^(xarchiver)$"
"float, ^(org.gnome.FileRoller)$"
"float, ^(org.freedesktop.impl.portal.desktop.kde)$"
];
};
}

View File

@@ -3,7 +3,7 @@
exec-once = [
# STARTUP
# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
"systemctl --user start polkit-gnome-authentication-agent-1"
# "systemctl --user start polkit-gnome-authentication-agent-1"
# exec-once = lxqt-policykit-agent &
"waybar"
"pamixer --set-volume 50"

View File

@@ -16,18 +16,6 @@
templates = "${config.home.homeDirectory}/documents/templates";
videos = "${config.home.homeDirectory}/media/videos";
};
portal = {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
};
dconf = {
settings = {

View File

@@ -10,11 +10,15 @@
# ../../core/services/power-monitor
];
home = {
username = "cnst";
homeDirectory = "/home/cnst";
stateVersion = "23.11";
extraOutputsToInstall = ["doc" "devdoc"];
packages = with pkgs; [
# misc.gui
virt-manager
xfce.thunar
nautilus
# misc.tui
ranger
@@ -36,10 +40,15 @@
BROWSER = "firefox";
EDITOR = "nvim";
TERM = "foot";
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "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;
}

View File

@@ -9,17 +9,14 @@
homeImports = {
"cnst@cnix" = [
../core
../cnst.nix
./cnst
];
"adam@adampad" = [
../core
../adam.nix
./adam
];
"toothpick@toothpc" = [
../core
../toothpick.nix
./toothpick
];
};