This commit is contained in:
Miguel Palhas
2024-09-29 10:31:52 +01:00
commit 327b575dc5
16 changed files with 960 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{ inputs, ... }: {
imports =
[ inputs.home-manager.nixosModules.home-manager ./nix.nix ./zsh.nix ];
programs = { zsh.enable = true; };
time = { timeZone = "Europe/Lisbon"; };
networking = { networkmanager = { enable = true; }; };
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "pt_PT.UTF-8";
LC_IDENTIFICATION = "pt_PT.UTF-8";
LC_MEASUREMENT = "pt_PT.UTF-8";
LC_MONETARY = "pt_PT.UTF-8";
LC_NAME = "pt_PT.UTF-8";
LC_NUMERIC = "pt_PT.UTF-8";
LC_PAPER = "pt_PT.UTF-8";
LC_TELEPHONE = "pt_PT.UTF-8";
LC_TIME = "pt_PT.UTF-8";
};
};
}
+15
View File
@@ -0,0 +1,15 @@
{ inputs, lib, nixpkgs, ... }: {
nix = {
settings = {
trusted-users = [ "'root" "@wheel" ];
auto-optimise-store = lib.mkDefault true;
experimental-features = [ "nix-command" "flakes" ];
warn-dirty = false;
};
gc = {
automatic = true;
options = "--delete-older-than 30d";
};
};
nixpkgs.config.allowUnfree = true;
}
+7
View File
@@ -0,0 +1,7 @@
{ inputs, ... }: {
programs.zsh.enable = true;
programs.starship = {
enable = true;
settings = { add_newline = true; };
};
}