Created nixos configuration files to catagorize packages.
This commit is contained in:
parent
101ba89cb1
commit
8a30bc1889
|
@ -40,6 +40,11 @@
|
||||||
"*~"
|
"*~"
|
||||||
"*.swp"
|
"*.swp"
|
||||||
];
|
];
|
||||||
|
extraConfig = {
|
||||||
|
global = {
|
||||||
|
init.defaultbranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
# Monitors
|
|
||||||
bspc monitor DP-1 -d 1 2 3 4 5
|
|
||||||
bspc monitor DP-2 -d 6 7 8 9 0
|
|
||||||
|
|
||||||
# Behavior
|
|
||||||
bspc config automatic_scheme alternate
|
|
||||||
bspc config split_ratio 0.6
|
|
||||||
bspc config focus_follows_pointer true
|
|
||||||
bspc config pointer_follows_focus false
|
|
||||||
|
|
||||||
# Style
|
|
||||||
bspc config border_width 1
|
|
||||||
bspc config top_padding 0
|
|
||||||
bspc config window_gap 24
|
|
||||||
bspc config borderless_monocle false
|
|
||||||
bspc config gapless_monocle false
|
|
||||||
bspc config focused_border_color '#bd93f9'
|
|
||||||
bspc config normal_border_color '#282a36'
|
|
||||||
bspc config presel_feedback_color '#282a36'
|
|
||||||
|
|
||||||
# Rules
|
|
||||||
bspc rule -a Wrapper-2.0 \
|
|
||||||
state=floating border=off focus=on
|
|
||||||
bspc rule -a mpv \
|
|
||||||
state=floating sticky=on follow=off focus=on \
|
|
||||||
rectangle=640x360+1920+1080 monitor=DP-1
|
|
||||||
bspc rule -a "*:Toolkit:Picture-in-Picture" \
|
|
||||||
state=floating sticky=on follow=off focus=on \
|
|
||||||
rectangle=640x360+1920+1080 monitor=DP-1
|
|
||||||
bspc rule -a trayer:panel: border=off manage=off
|
|
||||||
bspc rule -a xdragon:Xdragon state=floating sticky=on
|
|
|
@ -1,3 +1,4 @@
|
||||||
nick = iiogama
|
nick = iiogama
|
||||||
real = iiogama
|
real = iiogama
|
||||||
host = irc.libera.chat
|
host = irc.libera.chat
|
||||||
|
join = #nixos
|
||||||
|
|
|
@ -8,7 +8,7 @@ super + Return
|
||||||
|
|
||||||
# terminal emulator with tmux session menu
|
# terminal emulator with tmux session menu
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
st -e iitmux
|
st -e "iitmux"
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
super + @space
|
super + @space
|
||||||
|
@ -34,8 +34,10 @@ super + shift + r
|
||||||
bspc wm -r; notify-desktop "bspwm config reloaded"
|
bspc wm -r; notify-desktop "bspwm config reloaded"
|
||||||
|
|
||||||
# close and kill
|
# close and kill
|
||||||
super + {_,shift + }q
|
super + w
|
||||||
bspc node -{c,k}
|
bspc node -c
|
||||||
|
super + q
|
||||||
|
test "$(printf 'Yes\nNo\n' | dmenu -i -p 'Kill node? ')" = "Yes" && bspc node -k
|
||||||
|
|
||||||
# alternate between the tiled and monocle layout
|
# alternate between the tiled and monocle layout
|
||||||
super + z
|
super + z
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# GUI home.nix
|
# GUI home.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
xresources.properties = {
|
xresources.properties = {
|
||||||
"*.foreground" = "#f8f8f2";
|
"*.foreground" = "#f8f8f2";
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
automatic_scheme = "alternate";
|
automatic_scheme = "alternate";
|
||||||
split_ratio = 0.5;
|
split_ratio = 0.60;
|
||||||
focus_follows_pointer = true;
|
focus_follows_pointer = true;
|
||||||
pointer_follows_focus = false;
|
pointer_follows_focus = false;
|
||||||
border_width = 1;
|
border_width = 1;
|
||||||
|
@ -85,12 +85,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
#"bspwm" = {
|
|
||||||
# source = ./dots/bspwm;
|
|
||||||
# target = "bspwm";
|
|
||||||
# recursive = true;
|
|
||||||
# executable = true;
|
|
||||||
#};
|
|
||||||
"dunst" = {
|
"dunst" = {
|
||||||
source = ./dots/dunst;
|
source = ./dots/dunst;
|
||||||
target = "dunst";
|
target = "dunst";
|
||||||
|
@ -121,63 +115,4 @@
|
||||||
name = "Comic Mono";
|
name = "Comic Mono";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs = {
|
|
||||||
hexchat = {
|
|
||||||
enable = true;
|
|
||||||
channels = {
|
|
||||||
darkscience = {
|
|
||||||
autojoin = [
|
|
||||||
"#darkscience"
|
|
||||||
];
|
|
||||||
nickname = "${user.long}";
|
|
||||||
userName = "${user.long}";
|
|
||||||
servers = [
|
|
||||||
"irc.darkscience.net"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
libera = {
|
|
||||||
autojoin = [
|
|
||||||
"#nixos"
|
|
||||||
];
|
|
||||||
loginMethod = "sasl";
|
|
||||||
nickname = "${user.long}";
|
|
||||||
servers = [
|
|
||||||
"irc.libera.chat"
|
|
||||||
];
|
|
||||||
userName = "${user.long}";
|
|
||||||
};
|
|
||||||
sdf = {
|
|
||||||
autojoin = [
|
|
||||||
"#anonradio"
|
|
||||||
"#sdf"
|
|
||||||
];
|
|
||||||
nickname = "${user.long}";
|
|
||||||
userName = "${user.long}";
|
|
||||||
servers = [
|
|
||||||
"irc.sdf.org"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
tilde = {
|
|
||||||
autojoin = [
|
|
||||||
"#ascii.town"
|
|
||||||
];
|
|
||||||
nickname = "${user.long}";
|
|
||||||
userName = "${user.long}";
|
|
||||||
servers = [
|
|
||||||
"irc.tilde.chat"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
#home.packages = with pkgs; [
|
|
||||||
# (dmenu.overrideAttrs (oldAttrs: rec {
|
|
||||||
# configFile = writeText "config.def.h" (builtins.readFile ../patches/dmenu/config.h);
|
|
||||||
# postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
|
||||||
# }))
|
|
||||||
# (st.overrideAttrs (oldAttrs: rec {
|
|
||||||
# configFile = writeText "config.def.h" (builtins.readFile ../patches/st/config.h);
|
|
||||||
# postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
|
||||||
# }))
|
|
||||||
#];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,10 @@
|
||||||
modules = [
|
modules = [
|
||||||
../nixos/all.nix
|
../nixos/all.nix
|
||||||
../nixos/cli.nix
|
../nixos/cli.nix
|
||||||
|
../nixos/chat.nix
|
||||||
../nixos/gui.nix
|
../nixos/gui.nix
|
||||||
../nixos/gaming.nix
|
../nixos/gaming.nix
|
||||||
|
../nixos/office.nix
|
||||||
./buckwheat/configuration.nix
|
./buckwheat/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
@ -32,6 +34,7 @@
|
||||||
../nixos/all.nix
|
../nixos/all.nix
|
||||||
../nixos/cli.nix
|
../nixos/cli.nix
|
||||||
../nixos/gui.nix
|
../nixos/gui.nix
|
||||||
|
../nixos/office.nix
|
||||||
../nixos/pentest.nix
|
../nixos/pentest.nix
|
||||||
./fireweed/configuration.nix
|
./fireweed/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
|
10
nixos/chat.nix
Normal file
10
nixos/chat.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Office packages configuration.nix
|
||||||
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
|
{
|
||||||
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
|
catgirl
|
||||||
|
discord
|
||||||
|
halloy
|
||||||
|
signal-desktop
|
||||||
|
];
|
||||||
|
}
|
|
@ -69,7 +69,6 @@
|
||||||
};
|
};
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
btfs
|
btfs
|
||||||
catgirl
|
|
||||||
cava
|
cava
|
||||||
cifs-utils
|
cifs-utils
|
||||||
cmus
|
cmus
|
||||||
|
@ -95,18 +94,15 @@
|
||||||
jo
|
jo
|
||||||
john
|
john
|
||||||
jq
|
jq
|
||||||
ledger
|
|
||||||
lynis
|
lynis
|
||||||
mdp
|
mdp
|
||||||
mediainfo
|
mediainfo
|
||||||
nb
|
nb
|
||||||
oed
|
oed
|
||||||
pandoc
|
|
||||||
pdfgrep
|
pdfgrep
|
||||||
phetch
|
phetch
|
||||||
profanity
|
profanity
|
||||||
recutils
|
recutils
|
||||||
#sc-im
|
|
||||||
shellcheck
|
shellcheck
|
||||||
ssss
|
ssss
|
||||||
surfraw
|
surfraw
|
||||||
|
|
|
@ -58,6 +58,22 @@
|
||||||
slock.enable = true;
|
slock.enable = true;
|
||||||
};
|
};
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
|
ani-cli
|
||||||
|
bashmount
|
||||||
|
feh
|
||||||
|
glib
|
||||||
|
lagrange
|
||||||
|
librewolf
|
||||||
|
mangal
|
||||||
|
mpv
|
||||||
|
mullvad-browser
|
||||||
|
mupdf
|
||||||
|
#onionshare-gui
|
||||||
|
scrot
|
||||||
|
tor-browser-bundle-bin
|
||||||
|
urlview
|
||||||
|
];
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
(dmenu.overrideAttrs (oldAttrs: rec {
|
(dmenu.overrideAttrs (oldAttrs: rec {
|
||||||
configFile = writeText "config.def.h" (builtins.readFile ./patches/dmenu/config.h);
|
configFile = writeText "config.def.h" (builtins.readFile ./patches/dmenu/config.h);
|
||||||
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
||||||
|
@ -66,25 +82,6 @@
|
||||||
configFile = writeText "config.def.h" (builtins.readFile ./patches/st/config.h);
|
configFile = writeText "config.def.h" (builtins.readFile ./patches/st/config.h);
|
||||||
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
||||||
}))
|
}))
|
||||||
ani-cli
|
|
||||||
bashmount
|
|
||||||
discord
|
|
||||||
feh
|
|
||||||
glib
|
|
||||||
lagrange
|
|
||||||
libreoffice
|
|
||||||
librewolf
|
|
||||||
mangal
|
|
||||||
mpv
|
|
||||||
mullvad-browser
|
|
||||||
mupdf
|
|
||||||
#onionshare-gui
|
|
||||||
scrot
|
|
||||||
signal-desktop
|
|
||||||
tor-browser-bundle-bin
|
|
||||||
urlview
|
|
||||||
];
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
clipmenu
|
clipmenu
|
||||||
dunst
|
dunst
|
||||||
hsetroot
|
hsetroot
|
||||||
|
|
11
nixos/office.nix
Normal file
11
nixos/office.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Office packages configuration.nix
|
||||||
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
|
{
|
||||||
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
|
ledger
|
||||||
|
libreoffice
|
||||||
|
pandoc
|
||||||
|
pdftk
|
||||||
|
sc-im
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user