Refactor directory structure
This commit is contained in:
9
modules/home/cli/common/default.nix
Normal file
9
modules/home/cli/common/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./shell.nix
|
||||
./helix.nix
|
||||
];
|
||||
}
|
15
modules/home/gui/common/default.nix
Normal file
15
modules/home/gui/common/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./firefox.nix
|
||||
./fonts.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
vlc
|
||||
bitwarden
|
||||
pavucontrol
|
||||
];
|
||||
}
|
@@ -5,6 +5,12 @@ let
|
||||
gtkThemeFromScheme;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
nix-colors.homeManagerModules.default
|
||||
];
|
||||
|
||||
colorScheme = nix-colors.colorSchemes.da-one-sea;
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
@@ -1,33 +0,0 @@
|
||||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./helix.nix
|
||||
./librewolf.nix
|
||||
./shell.nix
|
||||
./nextcloud.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
libreoffice
|
||||
onlyoffice-bin
|
||||
vlc
|
||||
signal-desktop
|
||||
unstable.webcord
|
||||
unstable.localsend
|
||||
bitwarden
|
||||
pavucontrol
|
||||
unstable.cubiomes-viewer
|
||||
unstable.yt-dlp
|
||||
unstable.rnote
|
||||
unstable.vesktop
|
||||
|
||||
# Image editing
|
||||
gimp
|
||||
inkscape
|
||||
|
||||
# CLI tools
|
||||
cloc
|
||||
];
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
unstable.dioxus-cli
|
||||
];
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
foreground = "#${config.colorScheme.palette.base05}";
|
||||
background = "#${config.colorScheme.palette.base00}";
|
||||
background_opacity = "0.6";
|
||||
font_family = "DejaVuSansM Nerd Font Mono";
|
||||
};
|
||||
};
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.librewolf;
|
||||
settings = {
|
||||
"webgl.disabled" = false;
|
||||
"privacy.resistFingerprinting" = false;
|
||||
"privacy.clearOnShutdown.cookies" = false;
|
||||
};
|
||||
};
|
||||
}
|
@@ -1,2 +0,0 @@
|
||||
# Base16 themes
|
||||
https://tinted-theming.github.io/base16-gallery/
|
@@ -1,9 +0,0 @@
|
||||
{ nix-colors, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
nix-colors.homeManagerModules.default
|
||||
];
|
||||
|
||||
colorScheme = nix-colors.colorSchemes.da-one-sea;
|
||||
}
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
usbutils
|
||||
tree
|
||||
neofetch
|
||||
btop
|
||||
git
|
@@ -1,9 +0,0 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
}
|
@@ -1,10 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./keyring.nix
|
||||
];
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.hyprland;
|
||||
@@ -33,6 +29,9 @@
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||
programs.ssh.startAgent = true;
|
||||
|
||||
# Configure networking
|
||||
networking.networkmanager.enable = true;
|
@@ -1,30 +0,0 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "xeovalyte";
|
||||
dataDir = "/home/xeovalyte";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
openDefaultPorts = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"xv-server" = {
|
||||
id = "DYBGKGM-I7JM6NG-EV7EGYY-NZL5WCG-CSDSJCJ-B4Q7AOP-5YVQYAZ-ETLQWA5";
|
||||
addresses = [
|
||||
"dynamic"
|
||||
"tcp://ddns.xeovalyte.com:22000"
|
||||
"quick://ddns.xeovalyte.com:22000"
|
||||
];
|
||||
};
|
||||
};
|
||||
folders = {
|
||||
"xeovalyte-documents" = {
|
||||
path = "/home/xeovalyte/Documents";
|
||||
devices = [ "xv-server" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
users.users.xeovalyte.extraGroups = [ "libvirtd" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
quickemu
|
||||
quickgui
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user