moved thigns to wm

This commit is contained in:
joy 2024-10-20 11:11:07 +02:00
parent c9a7921802
commit 4bb311a39e
47 changed files with 100 additions and 102 deletions

View file

@ -1,10 +1,10 @@
{ {
networking.hostName = "laptop"; networking.hostName = "laptop";
hypridle.enable = true;
led.enable = true; led.enable = true;
gnome.enable = true; gnome.enable = true;
home-manager.users.joy.code.enable = true; home-manager.users.joy.code.enable = true;
home-manager.users.joy.hypridle.enable = true;
imports = [ imports = [
./hardware.nix ./hardware.nix

View file

@ -5,7 +5,7 @@
./system ./system
./hardware ./hardware
./services ./services
./programs
./secrets ./secrets
./programs
]; ];
} }

View file

@ -2,7 +2,7 @@
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs;};
users = { users = {
"joy" = import ./home; "joy" = import ./home.nix;
}; };
}; };
} }

View file

@ -23,6 +23,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
texlab texlab
texliveFull
nil nil
clang-tools clang-tools
javascript-typescript-langserver javascript-typescript-langserver

View file

@ -1,20 +1,15 @@
{ {
imports = [ imports = [
./foot
./mpv
./firefox
./git
./helix
./newsboat
./rofi
./zsh
./zoxide
./bat ./bat
./cmus ./cmus
./tmux ./tmux
./mail ./mail
./yazi ./yazi
./code ./zsh
./git
./helix
./newsboat
./zoxide
./misc ./misc
]; ];
} }

View file

@ -0,0 +1,25 @@
{pkgs, ...}: {
home.packages = with pkgs; [
git
htop
ncdu
libnotify
brightnessctl
ffmpeg
lm_sensors
alejandra
tree
zip
unzip
yt-dlp
wget
fastfetch
cmatrix
cava
nitch
gotop
sl
cbonsai
pipes
];
}

View file

@ -15,8 +15,8 @@
cat = "bat"; cat = "bat";
lg = "${pkgs.lazygit}/bin/lazygit"; lg = "${pkgs.lazygit}/bin/lazygit";
ser = "ssh root@joygnu.org"; ser = "ssh root@joygnu.org";
ip = "sh ~/nix/modules/programs/home/zsh/scripts/ip.sh"; ip = "sh ~/nix/modules/programs/zsh/scripts/ip.sh";
rb = "sh ~/nix/modules/programs/home/zsh/scripts/rebuild.sh"; rb = "sh ~/nix/modules/programs/zsh/scripts/rebuild.sh";
fr = "doas systemctl reboot --firmware"; fr = "doas systemctl reboot --firmware";
up = "nix flake update --flake ~/nix/"; up = "nix flake update --flake ~/nix/";
del = "doas nix-collect-garbage -d"; del = "doas nix-collect-garbage -d";

View file

@ -1,9 +1,6 @@
{ {
imports = [ imports = [
./vm ./vm
./gdm
./dunst
./polkit
./syncthing ./syncthing
./docker ./docker
./ssh ./ssh

View file

@ -6,7 +6,4 @@
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
services.xserver.excludePackages = [pkgs.xterm]; services.xserver.excludePackages = [pkgs.xterm];
programs.nano.enable = false; programs.nano.enable = false;
# environment.systemPackages = [
# pkgs.vim
# ];
} }

View file

@ -1,9 +0,0 @@
{inputs, ...}: {
home-manager.users.joy = {
imports = [inputs.ags.homeManagerModules.default];
programs.ags = {
enable = true;
configDir = ./bar;
};
};
}

View file

@ -1,9 +0,0 @@
{pkgs, ...}: {
home-manager.users.joy = {
home.packages = with pkgs; [
wl-clipboard
];
services.cliphist.enable = true;
};
}

View file

@ -1,12 +1,15 @@
{ {inputs, ...}: {
imports = [ imports = [
./hyprland ./hyprland
./hypridle
./ags
./theme ./theme
./clip
./gnome ./gnome
./screen ./polkit
./misc ./gdm
]; ];
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"joy" = import ./home;
};
};
} }

View file

@ -0,0 +1,7 @@
{inputs, ...}: {
imports = [inputs.ags.homeManagerModules.default];
programs.ags = {
enable = true;
configDir = ./bar;
};
}

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
home.packages = with pkgs; [
wl-clipboard
];
services.cliphist.enable = true;
}

View file

@ -0,0 +1,14 @@
{
imports = [
./foot
./ags
./mpv
./screen
./firefox
./rofi
./code
./hypridle
./dunst
./misc
];
}

View file

@ -1,5 +1,5 @@
{lib, ...}: { {lib, ...}: {
home-manager.users.joy.services.dunst = { services.dunst = {
enable = true; enable = true;
settings = { settings = {
global = { global = {

View file

@ -8,7 +8,7 @@
}; };
config = lib.mkIf config.hypridle.enable { config = lib.mkIf config.hypridle.enable {
home-manager.users.joy.services.hypridle = { services.hypridle = {
enable = true; enable = true;
settings = { settings = {
listener = [ listener = [

View file

@ -1,45 +1,26 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
# cli hyprpicker
git playerctl
htop rofimoji
ncdu pwvucontrol
libnotify pulseaudioFull
brightnessctl
ffmpeg
lm_sensors
sent sent
texliveFull
alejandra
tree
zip
unzip
yt-dlp
wget
fastfetch
cmatrix
cava
nitch
gotop
sl
cbonsai
pipes
#gui
imv imv
signal-desktop
keepassxc keepassxc
vesktop vesktop
signal-desktop
bottles bottles
boxbuddy boxbuddy
transmission_4-gtk
kdePackages.kdenlive
ferdium ferdium
drawio drawio
obs-studio
distrobox distrobox
pulseaudioFull obs-studio
transmission_4-gtk
gnome-clocks
gnome-calculator gnome-calculator
gnome-disk-utility gnome-disk-utility
gnome-clocks gnome-sound-recorder
kdePackages.kdenlive
]; ];
} }

View file

@ -6,7 +6,7 @@
programs.rofi = { programs.rofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
theme = lib.mkForce "~/nix/modules/programs/home/rofi/gruvbox-material.rasi"; theme = lib.mkForce "~/nix/modules/wm/home/rofi/gruvbox-material.rasi";
extraConfig = { extraConfig = {
display-drun = ""; display-drun = "";
show-icons = true; show-icons = true;

View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
home.file.".config/swappy/config".text = ''
[Default]
save_dir=$HOME/media/pics/screen
'';
home.packages = with pkgs; [
grim
slurp
swappy
];
}

View file

@ -39,6 +39,7 @@
"float,title:(Clocks)" "float,title:(Clocks)"
"size 854 480,title:(Clocks)" "size 854 480,title:(Clocks)"
"float,title:(Network Connections)" "float,title:(Network Connections)"
"float,title:(Pipewire)"
]; ];
gestures = { gestures = {
workspace_swipe = true; workspace_swipe = true;

View file

@ -1,10 +0,0 @@
{pkgs, ...}: {
home-manager.users.joy = {
home.packages = with pkgs; [
hyprpicker
playerctl
rofimoji
pwvucontrol
];
};
}

View file

@ -1,14 +0,0 @@
{pkgs, ...}: {
home-manager.users.joy = {
home.file.".config/swappy/config".text = ''
[Default]
save_dir=$HOME/media/pics/screen
'';
home.packages = with pkgs; [
grim
slurp
swappy
];
};
}