Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
0e4af9fce5
0
hosts/common/home.nix
Normal file
0
hosts/common/home.nix
Normal file
|
|
@ -167,7 +167,13 @@
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
# services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
PasswordAuthentication = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,16 @@ let
|
||||||
terminal = pkgs.alacritty;
|
terminal = pkgs.alacritty;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../../snippets/gammastep.nix
|
../../snippets/gammastep.nix
|
||||||
../../snippets/kdeconnect.nix
|
../../snippets/kdeconnect.nix
|
||||||
../../snippets/ssh.nix
|
../../snippets/ssh.nix
|
||||||
../../snippets/zsh.nix
|
../../snippets/zsh.nix
|
||||||
../../snippets/taskwarrior.nix
|
../../snippets/taskwarrior.nix
|
||||||
../../snippets/clifm.nix
|
../../snippets/kakoune.nix
|
||||||
../../snippets/git.nix
|
../../snippets/clifm.nix
|
||||||
|
../../snippets/git.nix
|
||||||
|
../../snippets/firefox.nix
|
||||||
|
../../snippets/thunderbird.nix
|
||||||
];
|
];
|
||||||
home.username = "alice";
|
home.username = "alice";
|
||||||
home.homeDirectory = "/home/alice";
|
home.homeDirectory = "/home/alice";
|
||||||
|
|
@ -46,7 +49,7 @@ in {
|
||||||
mons = callPackage ../../pkgs/mons/mons.nix { };
|
mons = callPackage ../../pkgs/mons/mons.nix { };
|
||||||
archivo = callPackage ../../pkgs/archivo/archivo.nix { };
|
archivo = callPackage ../../pkgs/archivo/archivo.nix { };
|
||||||
highway-gothic = callPackage ../../pkgs/highway-gothic/highway-gothic.nix { };
|
highway-gothic = callPackage ../../pkgs/highway-gothic/highway-gothic.nix { };
|
||||||
olympus = callPackage ../../pkgs/olympus/olympus.nix { };
|
olympus = callPackage ../../pkgs/olympus/package.nix { };
|
||||||
in [ gcc tree-sitter ] ++ # Basic dev tools
|
in [ gcc tree-sitter ] ++ # Basic dev tools
|
||||||
[ marksman nil ] ++ # Language servers except those installed through package sections
|
[ marksman nil ] ++ # Language servers except those installed through package sections
|
||||||
[ texliveFull texlab ] ++ # LaTeX
|
[ texliveFull texlab ] ++ # LaTeX
|
||||||
|
|
@ -110,7 +113,7 @@ in {
|
||||||
highway-gothic
|
highway-gothic
|
||||||
font-awesome
|
font-awesome
|
||||||
] ++ # Fonts
|
] ++ # Fonts
|
||||||
[ ] ++ # Temp
|
[ temurin-jre-bin-17 ] ++ # Temp
|
||||||
[ ];
|
[ ];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
@ -179,36 +182,6 @@ in {
|
||||||
|
|
||||||
# programs.neovim = import ./snippets/neovim.nix;
|
# programs.neovim = import ./snippets/neovim.nix;
|
||||||
|
|
||||||
programs.kakoune = import ../../snippets/kakoune.nix pkgs;
|
|
||||||
xdg.configFile."kak-lsp/kak-lsp.toml".source =
|
|
||||||
../../snippets/kakoune/kak-lsp.toml;
|
|
||||||
xdg.desktopEntries.kakoune = {
|
|
||||||
name = "Kakoune";
|
|
||||||
genericName = "Text Editor";
|
|
||||||
comment = "Edit text files";
|
|
||||||
icon = "kak";
|
|
||||||
exec = "kak %F";
|
|
||||||
terminal = true;
|
|
||||||
mimeType = [
|
|
||||||
"text/english"
|
|
||||||
"text/plain"
|
|
||||||
"text/x-makefile"
|
|
||||||
"text/x-c++hdr"
|
|
||||||
"text/x-c++src"
|
|
||||||
"text/x-chdr"
|
|
||||||
"text/x-csrc"
|
|
||||||
"text/x-java"
|
|
||||||
"text/x-moc"
|
|
||||||
"text/x-pascal"
|
|
||||||
"text/x-tcl"
|
|
||||||
"text/x-tex"
|
|
||||||
"application/x-shellscript"
|
|
||||||
"text/x-c"
|
|
||||||
"text/x-c++"
|
|
||||||
];
|
|
||||||
categories = [ "Utility" "TextEditor" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
@ -228,7 +201,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.firefox = import ../../snippets/firefox.nix { inherit pkgs; };
|
|
||||||
|
|
||||||
programs.thunderbird = import ../../snippets/thunderbird.nix;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue