Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jul 17, 2024
1 parent e8937e2 commit 0c19eb7
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 15 deletions.
1 change: 0 additions & 1 deletion common/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
extraOptions = "experimental-features = nix-command flakes";
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.trusted-users = ["root" "builder" "ereslibre"];
Expand Down
4 changes: 3 additions & 1 deletion devbox/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{config, ...}: {
{
imports = [
../common/aliases
../common/nixos
Expand All @@ -11,6 +11,8 @@

networking.hostName = "devbox";

programs.zsh.enable = true;

# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Home lab";

inputs = {
dotfiles.url = "github:ereslibre/dotfiles";
dotfiles.url = "git+file:///Users/ereslibre/projects/dotfiles";
microvm = {
url = "github:astro/microvm.nix";
inputs.nixpkgs.follows = "dotfiles/nixpkgs";
Expand Down
19 changes: 16 additions & 3 deletions rafaels-air/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
{pkgs, ...}: {
imports = [
../common/nixos
];

environment = {
shells = with pkgs; [zsh];
systemPackages = with pkgs; [tailscale zsh];
systemPath = ["/run/current-system/sw/bin"];
systemPackages = with pkgs; [tailscale];
};

fonts.packages = with pkgs; [fira-code];

programs.zsh.enable = true;

users.users.ereslibre = {
createHome = true;
home = "/Users/ereslibre";
shell = pkgs.zsh;
};

networking.knownNetworkServices = [
"Dell Universal Dock D6000"
"USB 10/100/1000 LAN"
Expand All @@ -20,7 +28,12 @@
"Wi-Fi"
"Tailscale Tunnel"
];
nix.gc.automatic = true;

nix = {
gc.automatic = true;
linux-builder.enable = true;
};

services = {
nix-daemon.enable = true;
tailscale = {
Expand Down

0 comments on commit 0c19eb7

Please sign in to comment.