Compare commits
2 Commits
66f7c95451
...
ece09d9598
Author | SHA1 | Date | |
---|---|---|---|
ece09d9598 | |||
3c28947c21 |
20
flake.lock
20
flake.lock
@ -36,28 +36,10 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"river-bsp-layout": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1,
|
|
||||||
"narHash": "sha256-9l80YSyV6CEKAJVnJ3LoUc88O/M0b9wKbj0mMGmL6gI=",
|
|
||||||
"path": "./packages/river-bsp-layout",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"path": "./packages/river-bsp-layout",
|
|
||||||
"type": "path"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs"
|
||||||
"river-bsp-layout": "river-bsp-layout"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -18,10 +18,6 @@
|
|||||||
long = "iiogama";
|
long = "iiogama";
|
||||||
email = "iiogama@0x212.org";
|
email = "iiogama@0x212.org";
|
||||||
};
|
};
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = (
|
nixosConfigurations = (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# All home.nix
|
# Base home.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
@ -66,68 +66,6 @@
|
|||||||
endif
|
endif
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
xdg.configFile."lf/icons".source = ./dots/icons;
|
|
||||||
programs.lf = {
|
|
||||||
enable = true;
|
|
||||||
commands = {
|
|
||||||
dragon-out = ''%${pkgs.xdragon}/bin/xdragon -a -x "$fx"'';
|
|
||||||
editor-open = ''$$EDITOR $f'';
|
|
||||||
mkdir = ''
|
|
||||||
''${{
|
|
||||||
printf "Directory Name: "
|
|
||||||
read DIR
|
|
||||||
mkdir $DIR
|
|
||||||
}}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
keybindings = {
|
|
||||||
"\\\"" = "";
|
|
||||||
o = "";
|
|
||||||
c = "mkdir";
|
|
||||||
"." = "set hidden!";
|
|
||||||
"`" = "mark-load";
|
|
||||||
"\\'" = "mark-load";
|
|
||||||
"<enter>" = "open";
|
|
||||||
do = "dragon-out";
|
|
||||||
"g~" = "cd";
|
|
||||||
gh = "cd";
|
|
||||||
"g/" = "/";
|
|
||||||
ee = "editor-open";
|
|
||||||
V = ''''$${pkgs.bat}/bin/bat --paging=always "$f"'';
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
preview = true;
|
|
||||||
hidden = true;
|
|
||||||
drawbox = true;
|
|
||||||
icons = true;
|
|
||||||
ignorecase = true;
|
|
||||||
};
|
|
||||||
extraConfig =
|
|
||||||
let
|
|
||||||
previewer =
|
|
||||||
pkgs.writeShellScriptBin "pv.sh" ''
|
|
||||||
file=$1
|
|
||||||
w=$2
|
|
||||||
h=$3
|
|
||||||
x=$4
|
|
||||||
y=$5
|
|
||||||
|
|
||||||
if [[ "$( ${pkgs.file}/bin/file -Lb --mime-type "$file")" =~ ^image ]]; then
|
|
||||||
${pkgs.kitty}/bin/kitty +kitten icat --silent --stdin no --transfer-mode file --place "''${w}x''${h}@''${x}x''${y}" "$file" < /dev/null > /dev/tty
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
${pkgs.pistol}/bin/pistol "$file"
|
|
||||||
'';
|
|
||||||
cleaner = pkgs.writeShellScriptBin "clean.sh" ''
|
|
||||||
${pkgs.kitty}/bin/kitty +kitten icat --clear --stdin no --silent --transfer-mode file </dev/null > /dev/tty
|
|
||||||
'';
|
|
||||||
in
|
|
||||||
''
|
|
||||||
set cleaner ${cleaner}/bin/clean.sh
|
|
||||||
set previewer ${previewer}/bin/pv.sh
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp exts.pass-import ]);
|
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp exts.pass-import ]);
|
@ -1,16 +0,0 @@
|
|||||||
# Chat home.nix
|
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
|
||||||
{
|
|
||||||
xdg.configFile = {
|
|
||||||
"catgirl" = {
|
|
||||||
source = ./dots/catgirl;
|
|
||||||
target = "catgirl";
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
"senpai" = {
|
|
||||||
source = ./dots/senpai;
|
|
||||||
target = "senpai";
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,6 +1,9 @@
|
|||||||
# CLI home.nix
|
# CLI home.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./base.nix
|
||||||
|
];
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
wget = "wget --hsts-file=${config.xdg.configHome}/wget-hsts";
|
wget = "wget --hsts-file=${config.xdg.configHome}/wget-hsts";
|
||||||
doas = "sudo";
|
doas = "sudo";
|
||||||
@ -12,11 +15,21 @@
|
|||||||
"${config.home.homeDirectory}/.local/share/go/bin"
|
"${config.home.homeDirectory}/.local/share/go/bin"
|
||||||
];
|
];
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
|
"catgirl" = {
|
||||||
|
source = ./dots/catgirl;
|
||||||
|
target = "catgirl";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
"cava" = {
|
"cava" = {
|
||||||
source = ./dots/cava;
|
source = ./dots/cava;
|
||||||
target = "cava";
|
target = "cava";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
"senpai" = {
|
||||||
|
source = ./dots/senpai;
|
||||||
|
target = "senpai";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
xdg = {
|
xdg = {
|
||||||
userDirs = {
|
userDirs = {
|
||||||
|
@ -9,6 +9,11 @@ set -o vi
|
|||||||
unset HISTFILE
|
unset HISTFILE
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
function home() {
|
||||||
|
cd
|
||||||
|
clear
|
||||||
|
}
|
||||||
|
|
||||||
function search() {
|
function search() {
|
||||||
surfraw $(surfraw -elvi | fzf | awk '{print $1;}')
|
surfraw $(surfraw -elvi | fzf | awk '{print $1;}')
|
||||||
}
|
}
|
||||||
|
@ -3,19 +3,13 @@
|
|||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
riverctl spawn "way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1"
|
riverctl spawn "way-displays -c $HOME/.config/way-displays/cfg.yaml"
|
||||||
riverctl spawn "swww init"
|
riverctl spawn "swww init"
|
||||||
riverctl spawn "swww img $HOME/Pictures/wallpapers/bliss-night.png --transition-type simple"
|
riverctl spawn "swww img $HOME/Pictures/wallpapers/bliss-night.png --transition-type simple"
|
||||||
riverctl spawn "wl-paste --type text --watch cliphist store"
|
riverctl spawn "wl-paste --type text --watch cliphist store"
|
||||||
riverctl spawn "wl-paste --type image --watch cliphist store"
|
riverctl spawn "wl-paste --type image --watch cliphist store"
|
||||||
riverctl spawn "mako"
|
riverctl spawn "mako"
|
||||||
riverctl spawn "mullvad-gui"
|
riverctl spawn "mullvad-gui"
|
||||||
riverctl spawn "mullvad-browser"
|
|
||||||
riverctl spawn "librewolf"
|
|
||||||
riverctl spawn "thunderbird"
|
|
||||||
riverctl spawn "steam"
|
|
||||||
riverctl spawn "discord"
|
|
||||||
riverctl spawn "signal-desktop"
|
|
||||||
|
|
||||||
# Theme
|
# Theme
|
||||||
riverctl background-color 0x282a36
|
riverctl background-color 0x282a36
|
||||||
@ -23,9 +17,9 @@ riverctl border-color-focused 0xbd93f9
|
|||||||
riverctl border-color-unfocused 0x282a36
|
riverctl border-color-unfocused 0x282a36
|
||||||
|
|
||||||
# Launch Shortcuts
|
# Launch Shortcuts
|
||||||
riverctl map normal Super Return spawn "foot iitmux"
|
riverctl map normal Super Return spawn "foot tmux.sh"
|
||||||
riverctl map normal Super+Shift Return spawn "foot"
|
riverctl map normal Super+Shift Return spawn "foot"
|
||||||
riverctl map normal Super Space spawn "iiwmenu"
|
riverctl map normal Super Space spawn "wmenu.sh"
|
||||||
|
|
||||||
# Focus Controls
|
# Focus Controls
|
||||||
riverctl map normal Super H focus-view previous
|
riverctl map normal Super H focus-view previous
|
||||||
|
@ -8,11 +8,11 @@ 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 "tmux.sh"
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
super + @space
|
super + @space
|
||||||
iixmenu
|
xmenu.sh
|
||||||
|
|
||||||
# screenshot shortcut
|
# screenshot shortcut
|
||||||
super + shift + s
|
super + shift + s
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
# GUI home.nix
|
# GUI home.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./cli.nix
|
||||||
|
];
|
||||||
xdg = {
|
xdg = {
|
||||||
systemDirs.data = [
|
systemDirs.data = [
|
||||||
"/var/lib/flatpak/exports/share"
|
"/var/lib/flatpak/exports/share"
|
||||||
|
@ -28,6 +28,7 @@ in
|
|||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
|
nixos-shell
|
||||||
virtiofsd
|
virtiofsd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -5,9 +5,6 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit user inputs; };
|
specialArgs = { inherit user inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
../nixos/all.nix
|
|
||||||
../nixos/cli.nix
|
|
||||||
../nixos/chat.nix
|
|
||||||
../nixos/wayland.nix
|
../nixos/wayland.nix
|
||||||
../nixos/gaming.nix
|
../nixos/gaming.nix
|
||||||
../nixos/office.nix
|
../nixos/office.nix
|
||||||
@ -18,9 +15,6 @@
|
|||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user; };
|
||||||
home-manager.users.${user.name} = {
|
home-manager.users.${user.name} = {
|
||||||
imports = [
|
imports = [
|
||||||
../home-manager/all.nix
|
|
||||||
../home-manager/cli.nix
|
|
||||||
../home-manager/chat.nix
|
|
||||||
../home-manager/wayland.nix
|
../home-manager/wayland.nix
|
||||||
./buckwheat/home.nix
|
./buckwheat/home.nix
|
||||||
];
|
];
|
||||||
@ -32,8 +26,6 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit user inputs; };
|
specialArgs = { inherit user inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
../nixos/all.nix
|
|
||||||
../nixos/cli.nix
|
|
||||||
../nixos/xorg.nix
|
../nixos/xorg.nix
|
||||||
../nixos/office.nix
|
../nixos/office.nix
|
||||||
../nixos/pentest.nix
|
../nixos/pentest.nix
|
||||||
@ -44,8 +36,6 @@
|
|||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user; };
|
||||||
home-manager.users.${user.name} = {
|
home-manager.users.${user.name} = {
|
||||||
imports = [
|
imports = [
|
||||||
../home-manager/all.nix
|
|
||||||
../home-manager/cli.nix
|
|
||||||
../home-manager/xorg.nix
|
../home-manager/xorg.nix
|
||||||
./fireweed/home.nix
|
./fireweed/home.nix
|
||||||
];
|
];
|
||||||
@ -57,7 +47,6 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit user inputs; };
|
specialArgs = { inherit user inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
../nixos/all.nix
|
|
||||||
../nixos/cli.nix
|
../nixos/cli.nix
|
||||||
./vm/configuration.nix
|
./vm/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
@ -66,7 +55,6 @@
|
|||||||
home-manager.extraSpecialArgs = { inherit user; };
|
home-manager.extraSpecialArgs = { inherit user; };
|
||||||
home-manager.users.${user.name} = {
|
home-manager.users.${user.name} = {
|
||||||
imports = [
|
imports = [
|
||||||
../home-manager/all.nix
|
|
||||||
../home-manager/cli.nix
|
../home-manager/cli.nix
|
||||||
./vm/home.nix
|
./vm/home.nix
|
||||||
];
|
];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# All configuration.nix
|
# Base configuration.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
@ -1,13 +0,0 @@
|
|||||||
# Office packages configuration.nix
|
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
|
||||||
{
|
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
|
||||||
catgirl
|
|
||||||
discord
|
|
||||||
profanity
|
|
||||||
sic
|
|
||||||
senpai
|
|
||||||
signal-desktop
|
|
||||||
tut
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,6 +1,9 @@
|
|||||||
# CLI configuration.nix
|
# CLI configuration.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./base.nix
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
localBinInPath = true;
|
localBinInPath = true;
|
||||||
variables = {
|
variables = {
|
||||||
@ -69,7 +72,9 @@
|
|||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
|
bashmount
|
||||||
btfs
|
btfs
|
||||||
|
catgirl
|
||||||
cava
|
cava
|
||||||
cifs-utils
|
cifs-utils
|
||||||
cmus
|
cmus
|
||||||
@ -109,12 +114,16 @@
|
|||||||
oed
|
oed
|
||||||
pdfgrep
|
pdfgrep
|
||||||
phetch
|
phetch
|
||||||
|
profanity
|
||||||
recutils
|
recutils
|
||||||
|
senpai
|
||||||
shellcheck
|
shellcheck
|
||||||
|
sic
|
||||||
sipcalc
|
sipcalc
|
||||||
ssss
|
ssss
|
||||||
surfraw
|
surfraw
|
||||||
tmux-xpanes
|
tmux-xpanes
|
||||||
|
tut
|
||||||
unrar
|
unrar
|
||||||
unzip
|
unzip
|
||||||
up
|
up
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
# GUI configuration.nix
|
# GUI configuration.nix
|
||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./cli.nix
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
variables = {
|
variables = {
|
||||||
VISUAL = "$EDITOR";
|
VISUAL = "$EDITOR";
|
||||||
@ -41,7 +44,6 @@
|
|||||||
};
|
};
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
ani-cli
|
ani-cli
|
||||||
bashmount
|
|
||||||
glib
|
glib
|
||||||
lagrange
|
lagrange
|
||||||
librewolf
|
librewolf
|
||||||
@ -50,6 +52,7 @@
|
|||||||
mullvad-browser
|
mullvad-browser
|
||||||
mupdf
|
mupdf
|
||||||
#onionshare-gui
|
#onionshare-gui
|
||||||
|
signal-desktop
|
||||||
tor-browser-bundle-bin
|
tor-browser-bundle-bin
|
||||||
#urlview
|
#urlview
|
||||||
ytfzf
|
ytfzf
|
||||||
|
@ -27,10 +27,17 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
bemenu
|
bemenu
|
||||||
|
bemoji
|
||||||
|
cliphist
|
||||||
foot
|
foot
|
||||||
|
grimblast
|
||||||
|
imv
|
||||||
mako
|
mako
|
||||||
swaylock
|
swaylock
|
||||||
|
swww
|
||||||
|
tessen
|
||||||
way-displays
|
way-displays
|
||||||
|
wl-clipboard
|
||||||
wtype
|
wtype
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@ -38,15 +45,4 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
|
||||||
bemoji
|
|
||||||
cliphist
|
|
||||||
grimblast
|
|
||||||
imv
|
|
||||||
swww
|
|
||||||
tessen
|
|
||||||
wl-clipboard
|
|
||||||
];
|
|
||||||
environment.systemPackages = [
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user