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,17 +6,16 @@
config,
pkgs,
...
}:
{
}: {
# You can import other home-manager modules here
imports = [
../core/adam.nix
../extra/adam.nix
../extra
];
nixpkgs = {
# You can add overlays here
overlays = [ ];
overlays = [];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages

View File

@@ -6,17 +6,16 @@
config,
pkgs,
...
}:
{
}: {
# You can import other home-manager modules here
imports = [
../core/cnst.nix
../extra/cnst.nix
../extra
];
nixpkgs = {
# You can add overlays here
overlays = [ ];
overlays = [];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages

View File

@@ -1,36 +1,37 @@
{ pkgs, ... }:
{
imports = [
./firefox
./neovim
./zellij
];
{pkgs, ...}: {
home.packages = with pkgs; [
# Desktop
# APPLICATIONS
alacritty
wl-clipboard
keepassxc
qbittorrent
ranger
webcord
calcurse
xfce.thunar
# UTILITY
wl-clipboard
xfce.thunar-volman
xfce.thunar-archive-plugin
gnome.file-roller
wireguard-tools
wpa_supplicant
ntfs3g
kdePackages.polkit-kde-agent-1
networkmanagerapplet
htop
btop
pamixer
pavucontrol
virt-manager
qbittorrent
fastfetch
waybar
nwg-look
thefuck
calcurse
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 = [
./zellij
./firefox
./neovim
];
home.packages = with pkgs; [
# Desktop
# APPLICATIONS
alacritty
wl-clipboard
keepassxc
qbittorrent
ranger
webcord
calcurse
xfce.thunar
# UTILITY
wl-clipboard
xfce.thunar-volman
xfce.thunar-archive-plugin
gnome.file-roller
wireguard-tools
wpa_supplicant
ntfs3g
kdePackages.polkit-kde-agent-1
networkmanagerapplet
htop
btop
pamixer
qbittorrent
pwvucontrol
virt-manager
fastfetch
waybar
nwg-look
thefuck
calcurse
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,
inputs,
...
}:
{
}: {
zramSwap.enable = true;
security.rtkit.enable = true;
hardware = {
pulseaudio.enable = false;
bluetooth = {
enable = true;
powerOnBoot = true;

View File

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

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services = {
dbus.packages = with pkgs; [
gcr
@@ -38,7 +37,7 @@
xkb = {
extraLayouts.hhkbse = {
description = "HHKBse by cnst";
languages = [ "se" ];
languages = ["se"];
symbolsFile = /home/cnst/.nix-config/hosts/cnix/xkb/symbols/hhkbse;
};
layout = "hhkbse";
@@ -54,6 +53,7 @@
support32Bit = true;
};
pulse.enable = true;
wireplumber.enable = true;
#jack.enable = true;
#media-session.enable = true;
};

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services = {
dbus.packages = with pkgs; [
gcr
@@ -38,7 +37,7 @@
xkb = {
extraLayouts.hhkbse = {
description = "HHKBse by cnst";
languages = [ "se" ];
languages = ["se"];
symbolsFile = /home/cnst/.nix-config/hosts/cnix/xkb/symbols/hhkbse;
};
layout = "hhkbse";
@@ -54,6 +53,7 @@
support32Bit = true;
};
pulse.enable = true;
wireplumber.enable = true;
#jack.enable = true;
#media-session.enable = true;
};