Add foxtrot
This commit is contained in:
parent
d1449fa5cc
commit
186dc37971
6 changed files with 72 additions and 5 deletions
|
@ -105,6 +105,9 @@
|
|||
thinker = mkNixosUnstableSystem "x86_64-linux" [./nixos/thinker] (with outputs.homeManagerModules; [
|
||||
thinker
|
||||
]);
|
||||
foxtrot = mkNixosUnstableSystem "x86_64-linux" [./nixos/foxtrot] (with outputs.homeManagerModules; [
|
||||
foxtrot
|
||||
]);
|
||||
beefcake =
|
||||
mkNixosUnstableSystem "x86_64-linux" [
|
||||
inputs.api-lyte-dev.nixosModules.x86_64-linux.api-lyte-dev
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
desktop = import ./desktop.nix;
|
||||
linux-desktop = import ./linux-desktop.nix;
|
||||
sway = import ./sway.nix;
|
||||
sway-laptop = import ./sway-laptop.nix;
|
||||
|
||||
dragon = import ./dragon.nix;
|
||||
thinker = import ./thinker.nix;
|
||||
foxtrot = import ./foxtrot.nix;
|
||||
}
|
||||
|
|
6
modules/home-manager/foxtrot.nix
Normal file
6
modules/home-manager/foxtrot.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{outputs, ...}: {
|
||||
imports = with outputs.homeManagerModules; [
|
||||
sway
|
||||
sway-laptop
|
||||
];
|
||||
}
|
6
modules/home-manager/sway-laptop.nix
Normal file
6
modules/home-manager/sway-laptop.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
wayland.windowManager.sway = {
|
||||
# TODO: firefox initial open on workspace 2
|
||||
# TODO: kitty initial open on workspace 1
|
||||
};
|
||||
}
|
|
@ -1,10 +1,6 @@
|
|||
{outputs, ...}: {
|
||||
imports = with outputs.homeManagerModules; [
|
||||
sway
|
||||
sway-laptop
|
||||
];
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
# TODO: firefox initial open on workspace 2
|
||||
# TODO: kitty initial open on workspace 1
|
||||
};
|
||||
}
|
||||
|
|
54
nixos/foxtrot/default.nix
Normal file
54
nixos/foxtrot/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
flake,
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
# config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
networking.hostName = "foxtrot";
|
||||
|
||||
imports =
|
||||
[
|
||||
inputs.disko.nixosModules.disko
|
||||
flake.diskoConfigurations.standard
|
||||
]
|
||||
++ (with outputs.nixosModules; [
|
||||
desktop-usage
|
||||
podman
|
||||
postgres
|
||||
wifi
|
||||
])
|
||||
++ [
|
||||
inputs.hardware.nixosModules.common-cpu-amd
|
||||
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
||||
];
|
||||
|
||||
# TODO: hibernation? does sleep suffice?
|
||||
# TODO: perform a hardware scan
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
# kernelParams = ["boot.shell_on_fail"];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"];
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
services.printing.enable = true;
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedTCPPorts = [22];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
Loading…
Reference in a new issue