add restruct4

This commit is contained in:
cnst
2024-06-28 15:52:26 +02:00
parent 521da65554
commit 1f8ea57bdc
10 changed files with 107 additions and 53 deletions

View File

@@ -6,12 +6,11 @@
config, config,
pkgs, pkgs,
... ...
}: }: {
{
# You can import other home-manager modules here # You can import other home-manager modules here
imports = [ imports = [
../core/adam.nix ../core/adam.nix
../extra/adam.nix ../extra
]; ];
nixpkgs = { nixpkgs = {

View File

@@ -6,12 +6,11 @@
config, config,
pkgs, pkgs,
... ...
}: }: {
{
# You can import other home-manager modules here # You can import other home-manager modules here
imports = [ imports = [
../core/cnst.nix ../core/cnst.nix
../extra/cnst.nix ../extra
]; ];
nixpkgs = { nixpkgs = {

View File

@@ -1,36 +1,37 @@
{ pkgs, ... }: {pkgs, ...}: {
{
imports = [
./firefox
./neovim
./zellij
];
home.packages = with pkgs; [ home.packages = with pkgs; [
# Desktop # APPLICATIONS
alacritty alacritty
wl-clipboard
keepassxc keepassxc
qbittorrent
ranger ranger
webcord webcord
calcurse
xfce.thunar xfce.thunar
# UTILITY
wl-clipboard
xfce.thunar-volman xfce.thunar-volman
xfce.thunar-archive-plugin xfce.thunar-archive-plugin
gnome.file-roller gnome.file-roller
wireguard-tools
wpa_supplicant
ntfs3g
kdePackages.polkit-kde-agent-1
networkmanagerapplet
htop
btop
pamixer pamixer
pavucontrol
virt-manager virt-manager
qbittorrent
fastfetch fastfetch
waybar waybar
nwg-look nwg-look
thefuck thefuck
calcurse
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
# NETWORK
wireguard-tools
networkmanagerapplet
wpa_supplicant
# SYSTEM
kdePackages.polkit-kde-agent-1
ntfs3g
btop
htop
]; ];
} }

View File

@@ -1,35 +1,42 @@
{ pkgs, ... }: {pkgs, ...}: {
{
imports = [ imports = [
./zellij ./zellij
./firefox ./firefox
./neovim ./neovim
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
# Desktop # APPLICATIONS
alacritty alacritty
wl-clipboard
keepassxc keepassxc
qbittorrent
ranger ranger
webcord webcord
calcurse
xfce.thunar xfce.thunar
# UTILITY
wl-clipboard
xfce.thunar-volman xfce.thunar-volman
xfce.thunar-archive-plugin xfce.thunar-archive-plugin
gnome.file-roller gnome.file-roller
wireguard-tools
wpa_supplicant
ntfs3g
kdePackages.polkit-kde-agent-1
networkmanagerapplet
htop
btop
pamixer pamixer
qbittorrent pwvucontrol
virt-manager
fastfetch fastfetch
waybar waybar
nwg-look nwg-look
thefuck thefuck
calcurse
gnome.adwaita-icon-theme gnome.adwaita-icon-theme
# NETWORK
wireguard-tools
networkmanagerapplet
wpa_supplicant
# SYSTEM
kdePackages.polkit-kde-agent-1
ntfs3g
btop
htop
]; ];
} }

View File

@@ -0,0 +1,37 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# APPLICATIONS
alacritty
keepassxc
qbittorrent
ranger
webcord
calcurse
xfce.thunar
# UTILITY
wl-clipboard
xfce.thunar-volman
xfce.thunar-archive-plugin
gnome.file-roller
pamixer
pavucontrol
virt-manager
fastfetch
waybar
nwg-look
thefuck
gnome.adwaita-icon-theme
# NETWORK
wireguard-tools
networkmanagerapplet
wpa_supplicant
# SYSTEM
kdePackages.polkit-kde-agent-1
ntfs3g
btop
htop
];
}

16
home/extra/default.nix Normal file
View File

@@ -0,0 +1,16 @@
{
home-manager = {
cnst.imports = [
./firefox
./neovim
./zellij
./cnst-pkgs
];
adam.imports = [
./firefox
./neovim
./zellij
./adam-pkgs
];
};
}

View File

@@ -4,13 +4,11 @@
config, config,
inputs, inputs,
... ...
}: }: {
{
zramSwap.enable = true; zramSwap.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
hardware = { hardware = {
pulseaudio.enable = false;
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;

View File

@@ -4,16 +4,13 @@
config, config,
inputs, inputs,
... ...
}: }: let
let
_nvtop = pkgs.nvtopPackages.amd; _nvtop = pkgs.nvtopPackages.amd;
in in {
{
zramSwap.enable = true; zramSwap.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
hardware = { hardware = {
pulseaudio.enable = false;
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
services = { services = {
dbus.packages = with pkgs; [ dbus.packages = with pkgs; [
gcr gcr
@@ -54,6 +53,7 @@
support32Bit = true; support32Bit = true;
}; };
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true;
#jack.enable = true; #jack.enable = true;
#media-session.enable = true; #media-session.enable = true;
}; };

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
services = { services = {
dbus.packages = with pkgs; [ dbus.packages = with pkgs; [
gcr gcr
@@ -54,6 +53,7 @@
support32Bit = true; support32Bit = true;
}; };
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true;
#jack.enable = true; #jack.enable = true;
#media-session.enable = true; #media-session.enable = true;
}; };