home/natto: split programs.nix
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
18
home/natto/browser.nix
Normal file
18
home/natto/browser.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles.natto = {
|
||||
name = "natto";
|
||||
};
|
||||
};
|
||||
chromium = {
|
||||
enable = true;
|
||||
package = pkgs.ungoogled-chromium;
|
||||
};
|
||||
};
|
||||
home.sessionVariables = {
|
||||
BROWSER = "firefox";
|
||||
};
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
home = {
|
||||
homeDirectory = "/home/natto";
|
||||
@@ -8,12 +8,15 @@
|
||||
|
||||
imports = [
|
||||
./email.nix
|
||||
./programs.nix
|
||||
./pass.nix
|
||||
./browser.nix
|
||||
./pdf.nix
|
||||
./mpv.nix
|
||||
./foot.nix
|
||||
# ./xsession.nix
|
||||
./wayland.nix
|
||||
./pkgs.nix
|
||||
./stuff.nix
|
||||
./emacs.nix
|
||||
./gtk.nix
|
||||
./dunst.nix
|
||||
./git.nix
|
||||
|
@@ -1,32 +1,6 @@
|
||||
{ pkgs, config, conf, ... }:
|
||||
{ conf, ... }:
|
||||
{
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles.natto = {
|
||||
name = "natto";
|
||||
};
|
||||
};
|
||||
chromium = {
|
||||
enable = true;
|
||||
package = pkgs.ungoogled-chromium;
|
||||
};
|
||||
zathura = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./config/zathura/zathurarc;
|
||||
options = {
|
||||
recolor = true;
|
||||
recolor-lightcolor = "rgba(0,0,0,0)";
|
||||
default-bg = "rgba(0,0,0,0.8)";
|
||||
};
|
||||
};
|
||||
|
||||
sioyek = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
password-store.enable = true;
|
||||
go.enable = true;
|
||||
foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -56,16 +30,5 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
force-window = true;
|
||||
keep-open = true;
|
||||
save-position-on-quit = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
home.sessionVariables = {
|
||||
BROWSER = "firefox";
|
||||
};
|
||||
}
|
13
home/natto/mpv.nix
Normal file
13
home/natto/mpv.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs = {
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
force-window = true;
|
||||
keep-open = true;
|
||||
save-position-on-quit = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
6
home/natto/pass.nix
Normal file
6
home/natto/pass.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs = {
|
||||
password-store.enable = true;
|
||||
};
|
||||
}
|
19
home/natto/pdf.nix
Normal file
19
home/natto/pdf.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs = {
|
||||
zathura = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./config/zathura/zathurarc;
|
||||
options = {
|
||||
recolor = true;
|
||||
recolor-lightcolor = "rgba(0,0,0,0)";
|
||||
default-bg = "rgba(0,0,0,0.8)";
|
||||
};
|
||||
};
|
||||
|
||||
sioyek = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user