Initial commit of NixOS configuration
This commit is contained in:
8
programs/default.nix
Normal file
8
programs/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{lib, ...}: {
|
||||
imports = [
|
||||
./fish.nix
|
||||
./kitty.nix
|
||||
./unconfigured.nix
|
||||
./nh.nix
|
||||
];
|
||||
}
|
||||
35
programs/fish.nix
Normal file
35
programs/fish.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{pkgs, ...}: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "
|
||||
nix-your-shell fish | source
|
||||
";
|
||||
|
||||
shellAliases = {
|
||||
cd = "z";
|
||||
cat = "bat";
|
||||
};
|
||||
|
||||
# plugins = with pkgs.fishPlugins; [
|
||||
# tide
|
||||
# ];
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
options = [];
|
||||
};
|
||||
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# home.file.".config/mommy/config.sh".text = ''
|
||||
# MOMMY_SWEETIE="toaster, boy"
|
||||
# MOMMY_COLOR="lolcat"
|
||||
# MOMMY_FORBIDDEN_WORDS="fat/,"
|
||||
# '';
|
||||
|
||||
programs.kitty.shellIntegration.enableFishIntegration = true;
|
||||
}
|
||||
12
programs/kitty.nix
Normal file
12
programs/kitty.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{pkgs, ...}: {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font_family = "0xProto Nerd Font Mono";
|
||||
background_opacity = 0.5;
|
||||
font_size = 12.0;
|
||||
force_ltr = "no";
|
||||
single_window_margin_width = 10;
|
||||
};
|
||||
};
|
||||
}
|
||||
6
programs/nh.nix
Normal file
6
programs/nh.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{pkgs, ...}: {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/home/toaster/.nixos";
|
||||
};
|
||||
}
|
||||
16
programs/unconfigured.nix
Normal file
16
programs/unconfigured.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
krita
|
||||
gimp
|
||||
kdePackages.dolphin
|
||||
blender
|
||||
nerd-fonts._0xproto
|
||||
vesktop
|
||||
git
|
||||
vscode
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user