Refactor directory structure

This commit is contained in:
2025-09-11 11:02:14 -04:00
parent 91fc437e8e
commit 9d42400c24
3 changed files with 22 additions and 41 deletions

View File

@@ -1,6 +1,24 @@
{ config, pkgs, lib, ... }:
{
home.file.".local/usr/bin" = {
source = ./.local/usr/bin;
recursive = true;
executable = true;
};
home.file.".local/usr/lib/blightmud" = {
source = ./.local/usr/lib/blightmud;
recursive = true;
executable = true;
};
home.file.".irssi" = {
source = ./.irssi;
recursive = true;
executable = true;
};
home.file.".ssh/allowed_signers".text = ''
* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8P/3yzsruekSaZ9b+yk429VTcfCtI1j8jnkNbPAgnr th3r00t@nixos
'';
imports = [
];
home.packages = with pkgs; [

View File

@@ -2,24 +2,6 @@
{
home.username = "th3r00t";
home.homeDirectory = "/home/th3r00t";
home.file.".local/usr/bin" = {
source = ./home/.local/usr/bin;
recursive = true;
executable = true;
};
home.file.".local/usr/lib/blightmud" = {
source = ./home/.local/usr/lib/blightmud;
recursive = true;
executable = true;
};
home.file.".irssi" = {
source = ./home/.irssi;
recursive = true;
executable = true;
};
home.file.".ssh/allowed_signers".text = ''
* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8P/3yzsruekSaZ9b+yk429VTcfCtI1j8jnkNbPAgnr th3r00t@nixos
'';
imports = [
# modules/hyprland.nix
./common.nix
@@ -29,8 +11,7 @@
fonts.fontconfig.enable = false;
home.sessionVariables = {
EDITOR = "nvim";
BROWSER = "qutebrowser";
PLATFORMTHEME = "kde";
BROWSER = "elinks";
};
home.packages = with pkgs; [
htop

View File

@@ -2,39 +2,21 @@
{
home.username = "th3r00t";
home.homeDirectory = "/home/th3r00t";
home.file.".local/usr/bin" = {
source = ./home/.local/usr/bin;
recursive = true;
executable = true;
};
home.file.".local/usr/lib/blightmud" = {
source = ./home/.local/usr/lib/blightmud;
recursive = true;
executable = true;
};
home.file.".irssi" = {
source = ./home/.irssi;
recursive = true;
executable = true;
};
home.file.".config/dosbox-x" = {
source = ./home/.config/dosbox-x;
source = ./.config/dosbox-x;
recursive = true;
executable = true;
};
home.file.".config/waybar/power_menu.xml" = {
source = ./home/.config/waybar/power_menu.xml;
source = ./.config/waybar/power_menu.xml;
recursive = true;
executable = true;
};
home.file.".config/qutebrowser/blocked-hosts" = {
source = ./home/.config/qutebrowser/blocked-hosts;
source = ./.config/qutebrowser/blocked-hosts;
recursive = true;
executable = true;
};
home.file.".ssh/allowed_signers".text = ''
* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8P/3yzsruekSaZ9b+yk429VTcfCtI1j8jnkNbPAgnr th3r00t@nixos
'';
imports = [
../modules/hyprland.nix
./common.nix