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";
};
};
time.timeZone = "America/Denver";
users.users.jrpotter = {
isNormalUser = true;
extraGroups = [
@ -129,8 +132,6 @@
];
};
time.timeZone = "America/Denver";
virtualisation = {
libvirtd.enable = true;
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 ++ [
../../digital-ocean/configuration.nix
@ -7,6 +7,32 @@
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 = {
useGlobalPkgs = true;
useUserPackages = true;
@ -21,10 +47,14 @@
networking.hostName = "phobos";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.mosh.enable = true;
services.openssh.enable = true;
time.timeZone = "America/Denver";
users.users.jrpotter = {
isNormalUser = true;
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";
}