Refactor directory structure

This commit is contained in:
2024-06-20 13:41:57 +02:00
parent 4d2ee54904
commit b76932ead3
62 changed files with 92 additions and 205 deletions

View File

@@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./git.nix
./shell.nix
./helix.nix
];
}

View File

@@ -0,0 +1,15 @@
{ pkgs, ...}:
{
imports = [
./alacritty.nix
./firefox.nix
./fonts.nix
];
home.packages = with pkgs; [
vlc
bitwarden
pavucontrol
];
}

View File

@@ -5,6 +5,12 @@ let
gtkThemeFromScheme;
in
{
imports = [
nix-colors.homeManagerModules.default
];
colorScheme = nix-colors.colorSchemes.da-one-sea;
gtk = {
enable = true;
theme = {

View File

@@ -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
];
}

View File

@@ -1,7 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
unstable.dioxus-cli
];
}

View File

@@ -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";
};
};
}

View File

@@ -1,13 +0,0 @@
{ pkgs, ... }:
{
programs.librewolf = {
enable = true;
package = pkgs.unstable.librewolf;
settings = {
"webgl.disabled" = false;
"privacy.resistFingerprinting" = false;
"privacy.clearOnShutdown.cookies" = false;
};
};
}

View File

@@ -1,2 +0,0 @@
# Base16 themes
https://tinted-theming.github.io/base16-gallery/

View File

@@ -1,9 +0,0 @@
{ nix-colors, ... }:
{
imports = [
nix-colors.homeManagerModules.default
];
colorScheme = nix-colors.colorSchemes.da-one-sea;
}

View File

@@ -2,7 +2,7 @@
{
environment.systemPackages = with pkgs; [
usbutils
tree
neofetch
btop
git

View File

@@ -1,9 +0,0 @@
{ ... }:
{
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
programs.ssh.startAgent = true;
}

View File

@@ -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;

View File

@@ -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" ];
};
};
};
};
}

View File

@@ -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
];
}