Merge remote-tracking branch 'origin/main'

This commit is contained in:
Daniel Flanagan 2024-01-06 17:25:33 -06:00
commit 48932dc77e
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
10 changed files with 115 additions and 140 deletions

View file

@ -183,9 +183,9 @@
format = "gpt"; format = "gpt";
partitions = [ partitions = [
{ {
label = "EFI";
name = "ESP"; name = "ESP";
start = "1M"; size = "512M";
end = "500M";
bootable = true; bootable = true;
content = { content = {
type = "filesystem"; type = "filesystem";

View file

@ -1,71 +0,0 @@
{
config,
lib,
outputs,
...
}: {
imports = with outputs.homeManagerModules; [
melee
sway
hyprland
];
wayland.windowManager.hyprland = {
settings = {
env = [
"EWW_BAR_MON,1"
];
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"DP-3,3840x2160@120,0x0,1"
];
input = {
force_no_accel = true;
sensitivity = 1; # -1.0 - 1.0, 0 means no modification.
};
};
};
wayland.windowManager.sway = {
config = {
output = {
"GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307" = {
mode = "3840x2160@120Hz";
position = "${toString (builtins.ceil (2160 / 1.5))},0";
};
"Dell Inc. DELL U2720Q D3TM623" = {
# desktop left vertical monitor
mode = "3840x2160@60Hz";
transform = "90";
scale = "1.5";
position = "0,0";
};
};
workspaceOutputAssign =
(
map
(ws: {
output = "GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307";
workspace = toString ws;
})
(lib.range 1 7)
)
++ (
map
(ws: {
output = "Dell Inc. DELL U2720Q D3TM623";
workspace = toString ws;
})
(lib.range 8 9)
);
};
};
ssbm = {
slippi-launcher = {
isoPath = "${config.home.homeDirectory}/../games/roms/dolphin/melee.iso";
};
};
}

View file

@ -1,18 +1,6 @@
{ {inputs, ...}: {
# flake,
inputs,
# outputs,
# lib,
# config,
# pkgs,
# system,
# modulesPath,
...
}: {
imports = [ imports = [
{ {nixpkgs.overlays = [inputs.ssbm.overlay];}
nixpkgs.overlays = [inputs.ssbm.overlay];
}
inputs.ssbm.homeManagerModule inputs.ssbm.homeManagerModule
]; ];

View file

@ -9,7 +9,7 @@ with builtins;
"desktop-usage" "desktop-usage"
"intel" "intel"
"pipewire" "pipewire"
"pipewire" "pipewire-low-latency"
"podman" "podman"
"postgres" "postgres"
"sway" "sway"

View file

@ -1,18 +1,11 @@
{ {inputs, ...}: {
# flake, imports = [
inputs, inputs.ssbm.nixosModule
# outputs, ];
# lib,
# config,
# pkgs,
# system,
# modulesPath,
...
}: {
imports = [inputs.ssbm.nixosModule];
ssbm = { ssbm = {
cache.enable = true; cache.enable = true;
overlay.enabled = true;
gcc = { gcc = {
rules.enable = true; rules.enable = true;

View file

@ -8,10 +8,13 @@
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
pinentryFlavor = "gnome3";
enableSSHSupport = true; enableSSHSupport = true;
# settings = {
# pinentry-program = "/run/current-system/sw/bin/pinentry";
# };
}; };
programs.sway = { programs.sway = {

View file

@ -11,6 +11,6 @@
wifi wifi
]; ];
# TODO: may not work for UEFI? # TODO: may not work for non-UEFI?
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
} }

View file

@ -6,11 +6,12 @@ with builtins; (listToAttrs (map (name: {
}; };
}) [ }) [
"base" "base"
"beefcake"
"dragon"
"foxtrot"
"musicbox"
"rascal"
"router"
"thablet" "thablet"
"thinker" "thinker"
"foxtrot"
"beefcake"
"rascal"
"musicbox"
"router"
])) ]))

View file

@ -1,10 +1,10 @@
{ {
# config,
flake, flake,
inputs, inputs,
outputs, outputs,
lib, lib,
pkgs, pkgs,
modulesPath,
... ...
}: { }: {
networking.hostName = "dragon"; networking.hostName = "dragon";
@ -12,26 +12,90 @@
# support interacting with the windows drive # support interacting with the windows drive
boot.supportedFilesystems = ["ntfs"]; boot.supportedFilesystems = ["ntfs"];
imports = imports = with outputs.nixosModules; [
[ flake.diskoConfigurations.standard
(modulesPath + "/installer/scan/not-detected.nix") inputs.hardware.nixosModules.common-cpu-amd
inputs.disko.nixosModules.disko inputs.hardware.nixosModules.common-pc-ssd
flake.diskoConfigurations.standard outputs.nixosModules.pipewire-low-latency
inputs.hardware.nixosModules.common-cpu-amd
inputs.hardware.nixosModules.common-pc-ssd desktop-usage
outputs.nixosModules.pipewire-low-latency podman
] postgres
++ (with outputs.nixosModules; [ wifi
common hyprland
melee printing
desktop-usage ewwbar
podman melee
postgres ];
wifi
hyprland home-manager.users.daniel = {
printing imports = with outputs.homeManagerModules; [
ewwbar sway
]); pass
# melee
# sway-laptop
# hyprland
];
# ssbm = {
# slippi-launcher = {
# isoPath = "${config.home.homeDirectory}/../games/roms/dolphin/melee.iso";
# };
# };
wayland.windowManager.hyprland = {
settings = {
env = [
"EWW_BAR_MON,1"
];
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"DP-3,3840x2160@120,0x0,1"
];
input = {
force_no_accel = true;
sensitivity = 1; # -1.0 - 1.0, 0 means no modification.
};
};
};
wayland.windowManager.sway = {
config = {
output = {
"GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307" = {
mode = "3840x2160@120Hz";
position = "${toString (builtins.ceil (2160 / 1.5))},0";
};
"Dell Inc. DELL U2720Q D3TM623" = {
# desktop left vertical monitor
mode = "3840x2160@60Hz";
transform = "90";
scale = "1.5";
position = "0,0";
};
};
workspaceOutputAssign =
(
map
(ws: {
output = "GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307";
workspace = toString ws;
})
(lib.range 1 7)
)
++ (
map
(ws: {
output = "Dell Inc. DELL U2720Q D3TM623";
workspace = toString ws;
})
(lib.range 8 9)
);
};
};
};
services.printing.enable = true; services.printing.enable = true;

View file

@ -11,18 +11,15 @@
in { in {
networking.hostName = "foxtrot"; networking.hostName = "foxtrot";
imports = imports = with outputs.nixosModules; [
[ flake.diskoConfigurations.standard
flake.diskoConfigurations.standard inputs.hardware.nixosModules.framework-13-7040-amd
inputs.hardware.nixosModules.framework-13-7040-amd desktop-usage
] podman
++ (with outputs.nixosModules; [ postgres
desktop-usage wifi
podman # hyprland
postgres ];
wifi
# hyprland
]);
programs.steam.enable = true; programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true; programs.steam.remotePlay.openFirewall = true;