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; inherit system;
specialArgs = { specialArgs = {
inherit inputs outputs system; inherit inputs outputs system;
inherit (outputs) colors font;
flake = self; flake = self;
}; };
modules = modules =
@ -114,7 +113,7 @@
# in # in
# home-manager.lib.homeManagerConfiguration { # home-manager.lib.homeManagerConfiguration {
# pkgs = nixpkgs.legacyPackages.${system}; # pkgs = nixpkgs.legacyPackages.${system};
# extraSpecialArgs = {inherit inputs outputs system colors font;}; # extraSpecialArgs = {inherit inputs outputs system;};
# modules = with outputs.homeManagerModules; [macos]; # 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; [ imports = with outputs.homeManagerModules; [
linux # linux
waybar # waybar
mako # mako
swaylock # swaylock
linux-desktop # linux-desktop
]; ];
programs.wofi = { programs.wofi = {

View file

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

View file

@ -6,7 +6,9 @@
# config, # config,
pkgs, pkgs,
... ...
}: { }: let
scale = 1.25;
in {
networking.hostName = "foxtrot"; networking.hostName = "foxtrot";
imports = imports =
@ -22,6 +24,38 @@
# hyprland # 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: # use updated ppd for framework 13:
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev # source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
nixpkgs.overlays = [ nixpkgs.overlays = [

View file

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