From c05911cc1fef0a96a15e51cc54b0e29e420a2ea8 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Mon, 10 Feb 2025 18:29:04 -0500 Subject: [PATCH] Made a lot of changes for de-lacadie to bring it in line with randolph. --- hosts/common/home.nix | 0 hosts/de-lacadie/configuration.nix | 8 ++++- hosts/de-lacadie/home.nix | 54 +++++++----------------------- 3 files changed, 19 insertions(+), 43 deletions(-) create mode 100644 hosts/common/home.nix diff --git a/hosts/common/home.nix b/hosts/common/home.nix new file mode 100644 index 0000000..e69de29 diff --git a/hosts/de-lacadie/configuration.nix b/hosts/de-lacadie/configuration.nix index 25f3d07..f887726 100644 --- a/hosts/de-lacadie/configuration.nix +++ b/hosts/de-lacadie/configuration.nix @@ -167,7 +167,13 @@ # List services that you want to enable: # Enable the OpenSSH daemon. - # services.openssh.enable = true; + services.openssh = { + enable = true; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = true; + }; + }; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; diff --git a/hosts/de-lacadie/home.nix b/hosts/de-lacadie/home.nix index 55e4528..8a2b8c2 100644 --- a/hosts/de-lacadie/home.nix +++ b/hosts/de-lacadie/home.nix @@ -6,13 +6,16 @@ let terminal = pkgs.alacritty; in { imports = [ - ../../snippets/gammastep.nix - ../../snippets/kdeconnect.nix - ../../snippets/ssh.nix - ../../snippets/zsh.nix - ../../snippets/taskwarrior.nix - ../../snippets/clifm.nix - ../../snippets/git.nix + ../../snippets/gammastep.nix + ../../snippets/kdeconnect.nix + ../../snippets/ssh.nix + ../../snippets/zsh.nix + ../../snippets/taskwarrior.nix + ../../snippets/kakoune.nix + ../../snippets/clifm.nix + ../../snippets/git.nix + ../../snippets/firefox.nix + ../../snippets/thunderbird.nix ]; home.username = "alice"; home.homeDirectory = "/home/alice"; @@ -46,7 +49,7 @@ in { mons = callPackage ../../pkgs/mons/mons.nix { }; archivo = callPackage ../../pkgs/archivo/archivo.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 [ marksman nil ] ++ # Language servers except those installed through package sections [ texliveFull texlab ] ++ # LaTeX @@ -110,7 +113,7 @@ in { highway-gothic font-awesome ] ++ # Fonts - [ ] ++ # Temp + [ temurin-jre-bin-17 ] ++ # Temp [ ]; programs.home-manager.enable = true; @@ -179,36 +182,6 @@ in { # 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 = { enable = true; }; @@ -228,7 +201,4 @@ in { }; }; - programs.firefox = import ../../snippets/firefox.nix { inherit pkgs; }; - - programs.thunderbird = import ../../snippets/thunderbird.nix; }