Have phobos mirror more of framework.

main
Joshua Potter 2024-01-23 20:58:09 +00:00
parent 046f89aa3d
commit 6d3fadd0b2
2 changed files with 41 additions and 3 deletions

View File

@ -119,6 +119,9 @@
xkbOptions = "ctrl:swapcaps"; xkbOptions = "ctrl:swapcaps";
}; };
}; };
time.timeZone = "America/Denver";
users.users.jrpotter = { users.users.jrpotter = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ extraGroups = [
@ -129,8 +132,6 @@
]; ];
}; };
time.timeZone = "America/Denver";
virtualisation = { virtualisation = {
libvirtd.enable = true; libvirtd.enable = true;
docker.rootless = { docker.rootless = {

View File

@ -1,4 +1,4 @@
{ lib, system, home-manager, ... }: { pkgs, lib, system, home-manager, ... }:
{ {
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [ imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
../../digital-ocean/configuration.nix ../../digital-ocean/configuration.nix
@ -7,6 +7,32 @@
deployment.targetHost = "144.126.218.252"; deployment.targetHost = "144.126.218.252";
environment = {
systemPackages = with pkgs; [
gcc
git
((vim_configurable.override {}).customize {
name = "vim";
vimrcConfig.customRC = ''
set nocompatible
syntax on
set colorcolumn=80,100
set expandtab " Spaces instead of tabs.
set list " Show hidden characters.
set listchars=tab:>\ ,trail:-,nbsp:+
set shiftwidth=2 " # of spaces to use for each (auto)indent.
set tabstop=2 " # of spaces a <Tab> in the file counts for.
'';
})
];
variables = {
EDITOR = "vim";
};
};
fonts.packages = with pkgs; [ iosevka ];
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
@ -21,10 +47,14 @@
networking.hostName = "phobos"; networking.hostName = "phobos";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.mosh.enable = true; programs.mosh.enable = true;
services.openssh.enable = true; services.openssh.enable = true;
time.timeZone = "America/Denver";
users.users.jrpotter = { users.users.jrpotter = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ extraGroups = [
@ -35,5 +65,12 @@
]; ];
}; };
virtualisation.docker.rootless = {
enable = true;
# Sets the `DOCKER_HOST` variable to the rootless Docker instance for normal
# users by default.
setSocketVariable = true;
};
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }