diff --git a/loki.nix b/loki.nix new file mode 100644 index 0000000..0468e42 --- /dev/null +++ b/loki.nix @@ -0,0 +1,62 @@ +{ pkgs, lib, ... }: +{ + nixpkgs.overlays = [ + (final: prev: { + devEnvironment = (import ./environment.nix) { + # enableCpp = true; + # enableData = true; + # enableGo = true; + # enableHtml = true; + # enableJavascript = true; + # enableJava = true; + # enableLatex = true; + # enableNix = true; + # enableOffice = true; + # enablePython = true; + # enableRust = true; + # enableShell = true; + # enableSpelling = true; + }; + }) + ]; + home = { + language.base = "it_IT.UTF-8"; + keyboard = { + layout = "it"; + options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" ]; + }; + packages = with pkgs; [ + htop + neofetch + nix-prefetch-scripts + ripgrep + wget + ]; + }; + imports = [ + ./modules/configurations.nix + ./modules/fonts.nix + ./modules/bash.nix + ./modules/bat.nix + ./modules/bottom.nix + ./modules/broot.nix + ./modules/dircolors.nix + ./modules/direnv.nix + ./modules/git.nix + ./modules/gpg.nix + ./modules/info.nix + ./modules/jq.nix + ./modules/kakoune.nix + ./modules/keychain.nix + ./modules/lf.nix + ./modules/man.nix + ./modules/megasync.nix + ./modules/noti.nix + ./modules/ssh.nix + ./modules/starship.nix + ./modules/tmux.nix + ./modules/zoxide.nix + ./modules/zsh.nix + ./modules/shell_aliases.nix + ]; +} diff --git a/nixos/base.nix b/nixos/base.nix index e22e1fe..493a2ec 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -1,13 +1,15 @@ { config, pkgs, lib, ... }: { imports = [ - # Include the results of the hardware scan. + + + /etc/nixos/hardware-configuration.nix - ./laptop.nix - ./pentablet.nix - ./pro_audio.nix - ./defcon.nix - ./mind.nix + # ./laptop.nix + # ./pentablet.nix + # ./pro_audio.nix + # ./defcon.nix + # ./mind.nix # ./k3s.nix ]; @@ -79,7 +81,13 @@ }; # Enable CUPS to print documents. - # services.printing.enable = true; + services.printing = { + enable = true; + drivers = with pkgs; [ + gutenprint + cups-kyocera + ]; + }; # Enable sound. # PULSE @@ -213,7 +221,7 @@ enable = true; package = lib.mkForce pkgs.gnome3.gvfs; }; - services.tlp.enable = false; + # services.tlp.enable = false; services.avahi = { enable = true; nssmdns = true; diff --git a/odin.nix b/odin.nix index 50dc307..60deb1b 100644 --- a/odin.nix +++ b/odin.nix @@ -103,6 +103,7 @@ wireguard xclip xournalpp + yq zoom-us zotero