This commit is contained in:
Daniel Flanagan 2024-01-04 22:24:18 -06:00
parent b7027a4ab1
commit 4239e603ad
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
6 changed files with 51 additions and 43 deletions

View file

@ -85,7 +85,6 @@
inherit system;
specialArgs = {
inherit inputs outputs system;
inherit (outputs) colors font;
flake = self;
};
modules =
@ -114,7 +113,7 @@
# in
# home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.${system};
# extraSpecialArgs = {inherit inputs outputs system colors font;};
# extraSpecialArgs = {inherit inputs outputs system;};
# modules = with outputs.homeManagerModules; [macos];
# };
};

View file

@ -1,33 +0,0 @@
{outputs, ...}: let
scale = 1.25;
in {
imports = with outputs.homeManagerModules; [
sway
sway-laptop
# hyprland
];
home = {
stateVersion = "24.05";
};
wayland.windowManager.hyprland = {
settings = {
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"eDP-1,2256x1504@60,0x0,${toString scale}"
];
};
};
wayland.windowManager.sway = {
config = {
output = {
"BOE 0x0BCA Unknown" = {
mode = "2256x1504@60Hz";
scale = toString scale;
};
};
};
};
}

View file

@ -8,11 +8,11 @@
...
}: {
imports = with outputs.homeManagerModules; [
linux
waybar
mako
swaylock
linux-desktop
# linux
# waybar
# mako
# swaylock
# linux-desktop
];
programs.wofi = {

View file

@ -1,5 +1,14 @@
{outputs, ...}: {
{
inputs,
system,
outputs,
...
}: {
home-manager = {
extraSpecialArgs = {
inherit inputs outputs system;
inherit (outputs) colors font;
};
users.daniel = {
# TODO: specify an email?
accounts.email.accounts = {

View file

@ -6,7 +6,9 @@
# config,
pkgs,
...
}: {
}: let
scale = 1.25;
in {
networking.hostName = "foxtrot";
imports =
@ -22,6 +24,38 @@
# hyprland
]);
home-manager.users.daniel = {
imports = with outputs.homeManagerModules; [
sway
# sway-laptop
# hyprland
];
home = {
stateVersion = "24.05";
};
wayland.windowManager.hyprland = {
settings = {
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"eDP-1,2256x1504@60,0x0,${toString scale}"
];
};
};
wayland.windowManager.sway = {
config = {
output = {
"BOE 0x0BCA Unknown" = {
mode = "2256x1504@60Hz";
scale = toString scale;
};
};
};
};
};
# use updated ppd for framework 13:
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
nixpkgs.overlays = [

View file

@ -1,6 +1,5 @@
{
flake,
inputs,
lib,
# outputs,
# config,