home: move around things a bit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.natto.laptop = lib.mkOption {
|
||||
options.isLaptop = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@@ -8,7 +8,7 @@
|
||||
size = 30000;
|
||||
save = size;
|
||||
};
|
||||
enableAutosuggestions = true;
|
||||
autosuggestion.enable = true;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
prezto = {
|
@@ -1,8 +1,8 @@
|
||||
{ self, inputs, globalArgs, ... }:
|
||||
let
|
||||
commonModules = [
|
||||
./modules/zsh.nix
|
||||
./modules/programs.nix
|
||||
common = [
|
||||
./common/zsh.nix
|
||||
./common/programs.nix
|
||||
globalArgs
|
||||
];
|
||||
|
||||
@@ -22,15 +22,15 @@ in
|
||||
|
||||
nattoModules = [
|
||||
./natto
|
||||
./modules/laptop.nix
|
||||
./common/laptop.nix
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
inputs.agenix.homeManagerModules.default
|
||||
] ++ commonModules;
|
||||
] ++ common;
|
||||
in
|
||||
{
|
||||
natto-laptop = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
modules = nattoModules ++ [
|
||||
{ natto.laptop = true; }
|
||||
{ isLaptop = true; }
|
||||
];
|
||||
pkgs = mkPkgs "x86_64-linux";
|
||||
};
|
||||
@@ -50,7 +50,7 @@ in
|
||||
username = "spark";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}] ++ commonModules;
|
||||
}] ++ common;
|
||||
pkgs = self.legacyPackages.aarch64-linux;
|
||||
};
|
||||
|
||||
@@ -61,7 +61,7 @@ in
|
||||
username = "bat";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}] ++ commonModules;
|
||||
}] ++ common;
|
||||
pkgs = self.legacyPackages.x86_64-linux;
|
||||
};
|
||||
|
||||
@@ -72,7 +72,7 @@ in
|
||||
username = "spin";
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
}] ++ commonModules;
|
||||
}] ++ common;
|
||||
pkgs = self.legacyPackages.x86_64-linux;
|
||||
};
|
||||
};
|
||||
|
@@ -9,16 +9,16 @@
|
||||
imports = [
|
||||
./email.nix
|
||||
./programs.nix
|
||||
./eww
|
||||
# ./xsession.nix
|
||||
./wayland.nix
|
||||
./pkgs.nix
|
||||
./stuff.nix
|
||||
./emacs.nix
|
||||
#./emacs.nix
|
||||
./gtk.nix
|
||||
./dunst.nix
|
||||
./git.nix
|
||||
./music.nix
|
||||
./zsh.nix
|
||||
./games.nix
|
||||
];
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
{
|
||||
programs.eww = {
|
||||
enable = true;
|
||||
package = pkgs.eww-wayland;
|
||||
package = pkgs.eww;
|
||||
configDir = lib.cleanSourceWith {
|
||||
src = ./.;
|
||||
filter = name: _:
|
||||
@@ -22,8 +22,22 @@
|
||||
let
|
||||
deps = [
|
||||
config.programs.eww.package
|
||||
] ++ lib.optional
|
||||
config.wayland.windowManager.hyprland.enable
|
||||
config.wayland.windowManager.hyprland.package
|
||||
] ++ (import ./bar pkgs);
|
||||
++ (with pkgs; [
|
||||
coreutils
|
||||
bash
|
||||
jq
|
||||
less
|
||||
gawk
|
||||
socat
|
||||
playerctl
|
||||
networkmanager
|
||||
iwgtk
|
||||
wireplumber
|
||||
])
|
||||
++ lib.optional config.laptop pkgs.light;
|
||||
in
|
||||
{
|
||||
Type = "simple";
|
||||
|
14
home/natto/games.nix
Normal file
14
home/natto/games.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# Wine and games and stuff
|
||||
wineWowPackages.stable
|
||||
steam
|
||||
winetricks
|
||||
# lutris
|
||||
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
|
||||
];
|
||||
|
||||
programs.mangohud.enable = true;
|
||||
}
|
||||
|
@@ -18,7 +18,8 @@ in
|
||||
};
|
||||
|
||||
mpd-discord-rpc = {
|
||||
inherit (mpd) enable;
|
||||
# inherit (mpd) enable;
|
||||
enable = false;
|
||||
settings = {
|
||||
id = 1039532008424099850; # dont really care
|
||||
format = {
|
||||
@@ -37,8 +38,6 @@ in
|
||||
host = "localhost";
|
||||
};
|
||||
};
|
||||
|
||||
playerctld.enable = true;
|
||||
};
|
||||
|
||||
systemd.user.services = {
|
||||
@@ -68,12 +67,12 @@ in
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
playerctl
|
||||
mpc_cli
|
||||
(ncmpcpp.override {
|
||||
visualizerSupport = true;
|
||||
clockSupport = true;
|
||||
})
|
||||
mpc_cli
|
||||
playerctl
|
||||
(tauon.override {
|
||||
withDiscordRPC = true;
|
||||
})
|
||||
@@ -83,6 +82,10 @@ in
|
||||
source = ./config/ncmpcpp/config;
|
||||
target = "${config.xdg.configHome}/ncmpcpp/config";
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
# LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets.mpdasrc = {
|
||||
|
@@ -1,7 +1,6 @@
|
||||
{ config, flake, inputs, pkgs, ... }:
|
||||
{ flake, pkgs, config, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# A/V, codec and media stuff
|
||||
ffmpeg-full
|
||||
wireplumber
|
||||
@@ -18,20 +17,12 @@
|
||||
p7zip
|
||||
unrar
|
||||
vim
|
||||
jmtpfs
|
||||
(flake.packages.${pkgs.system}.customscripts)
|
||||
translate-shell
|
||||
powertop
|
||||
(flake.packages.${system}.customscripts)
|
||||
cachix
|
||||
undervolt
|
||||
w3m
|
||||
steam-run
|
||||
|
||||
# GUI utils
|
||||
slack
|
||||
(discord.override {
|
||||
nss = nss_latest;
|
||||
})
|
||||
webcord
|
||||
(xfce.thunar.override {
|
||||
thunarPlugins = with xfce; [
|
||||
@@ -44,21 +35,9 @@
|
||||
xfce.tumbler
|
||||
qbittorrent
|
||||
hexchat
|
||||
luajit
|
||||
dunst
|
||||
authy
|
||||
gnome.zenity
|
||||
|
||||
# Wine and games and stuff
|
||||
lutris
|
||||
wineWowPackages.stable
|
||||
steam
|
||||
lutris
|
||||
winetricks
|
||||
flake.packages.${pkgs.system}.tlauncher
|
||||
mangohud
|
||||
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
|
||||
|
||||
# Programming and dev stuff
|
||||
(texlive.combine {
|
||||
inherit (texlive)
|
||||
@@ -83,16 +62,14 @@
|
||||
tcolorbox;
|
||||
})
|
||||
python3Packages.pygments
|
||||
inform7
|
||||
ghc
|
||||
nodejs
|
||||
rust-bin.nightly.latest.default
|
||||
openjdk
|
||||
|
||||
# Misc
|
||||
anki
|
||||
tor-browser-bundle-bin
|
||||
mailcap
|
||||
libsForQt5.qtstyleplugins
|
||||
] ++ lib.optionals config.isLaptop [
|
||||
powertop
|
||||
undervolt
|
||||
];
|
||||
}
|
||||
|
Binary file not shown.
@@ -19,7 +19,6 @@
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
|
||||
QT_X11_NO_MITSHM = "1";
|
||||
HM_CONF_DIR = "/etc/nixos";
|
||||
QT_QPA_PLATFORMTHEME = "gtk2";
|
||||
|
@@ -1,5 +1,9 @@
|
||||
{ pkgs, config, conf, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# ./eww
|
||||
];
|
||||
|
||||
wayland = {
|
||||
windowManager = {
|
||||
sway = {
|
||||
|
Reference in New Issue
Block a user