feat: add ghostty-terminfo package, set GNOME default terminal, some initial work on setting up nixos-containers in beefcake
Some checks failed
/ check (push) Has been cancelled
Some checks failed
/ check (push) Has been cancelled
This commit is contained in:
parent
878129d2c9
commit
b84a24ec17
6 changed files with 51 additions and 5 deletions
|
@ -453,6 +453,9 @@ in
|
|||
screensaver = [ "<Shift><Control><Super>l" ]; # lock screen
|
||||
mic-mute = [ "<Shift><Super>v" ];
|
||||
};
|
||||
"org/gnome/desktop/default-applications/terminal" = {
|
||||
exec = "ghostty";
|
||||
};
|
||||
"org/gnome/desktop/peripherals/touchpad" = {
|
||||
disable-while-typing = false;
|
||||
};
|
||||
|
|
|
@ -90,9 +90,12 @@
|
|||
system.configurationRevision = toString (
|
||||
self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"
|
||||
);
|
||||
environment.etc = {
|
||||
"lytedev/rev".text = config.system.configurationRevision;
|
||||
"lytedev/lastModified".text = toString (self.lastModified or "unknown");
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ ghostty-terminfo ];
|
||||
etc = {
|
||||
"lytedev/rev".text = config.system.configurationRevision;
|
||||
"lytedev/lastModified".text = toString (self.lastModified or "unknown");
|
||||
};
|
||||
};
|
||||
|
||||
lyte.shell.enable = lib.mkDefault true;
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
{
|
||||
config = lib.mkIf config.services.xserver.desktopManager.gnome.enable {
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
|
|
@ -12,4 +12,5 @@ in
|
|||
};
|
||||
|
||||
installer = pkgs.callPackage ./installer.nix { };
|
||||
ghostty-terminfo = pkgs.callPackage ./ghostty-terminfo.nix { };
|
||||
}
|
||||
|
|
17
packages/ghostty-terminfo.nix
Normal file
17
packages/ghostty-terminfo.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
pkgs,
|
||||
ghostty,
|
||||
...
|
||||
}:
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
inherit (ghostty) version;
|
||||
|
||||
pname = "${ghostty.pname}-terminfo";
|
||||
buildInputs = [ ghostty ];
|
||||
src = ghostty;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/"
|
||||
cp -r "$src/share/terminfo" "$out/share/"
|
||||
'';
|
||||
}
|
|
@ -20,7 +20,30 @@
|
|||
}:
|
||||
{
|
||||
system.stateVersion = "24.05";
|
||||
networking.hostName = "beefcake";
|
||||
networking = {
|
||||
nat = {
|
||||
# for NAT'ing to nixos-containers
|
||||
enable = true;
|
||||
internalInterfaces = [ "ve-+" ];
|
||||
externalInterface = "eno1";
|
||||
};
|
||||
# bridges.br0.interfaces = [ "eno1" ]; # Adjust interface accordingly
|
||||
|
||||
# Get bridge-ip with DHCP
|
||||
# useDHCP = false;
|
||||
# interfaces."br0".useDHCP = true;
|
||||
|
||||
# Set bridge-ip static
|
||||
# interfaces."br0".ipv4.addresses = [{
|
||||
# address = "10.233.2.0";
|
||||
# prefixLength = 24;
|
||||
# }];
|
||||
# defaultGateway = "192.168.100.1";
|
||||
# nameservers = [ "192.168.100.1" ];
|
||||
|
||||
networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||
hostName = "beefcake";
|
||||
};
|
||||
|
||||
boot = {
|
||||
zfs = {
|
||||
|
|
Loading…
Add table
Reference in a new issue