working flake-parts
This commit is contained in:
parent
ed864615e7
commit
35e6b01a56
15 changed files with 243 additions and 88 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -15,7 +15,7 @@ in {
|
|||
home-manager.users.${username} = {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
package = inputs.nixpkgs-wayland.packages.${pkgs.system}.foot;
|
||||
package = inputs'.nixpkgs-wayland.packages.foot;
|
||||
settings = {
|
||||
main = {
|
||||
term = "foot";
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.system.programs.spotify;
|
||||
inherit (config.modules.other.system) username;
|
||||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||||
# inherit (inputs.spicetify-nix.packages.${pkgs.system}) spicetify-nix;
|
||||
spicePkgs = inputs'.spicetify-nix.packages.default;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -16,7 +16,7 @@ in {
|
|||
home-manager.users.${username} = {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
package = inputs.nixpkgs-wayland.packages.${pkgs.system}.dunst;
|
||||
package = inputs'.nixpkgs-wayland.packages.dunst;
|
||||
settings = {
|
||||
global = {
|
||||
monitor = 1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
inputs',
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -25,10 +25,10 @@ with lib; let
|
|||
#exec-once=[workspace 1;fullscreen;noanim] ${
|
||||
pkgs.greetd.${cfg.greeter}
|
||||
}/bin/${cfg.greeter} -l; ${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/hyprctl dispatch exit
|
||||
#exec-once=${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/hyprctl dispatch focuswindow ${cfg.greeter}
|
||||
'';
|
||||
in {
|
||||
|
@ -49,7 +49,7 @@ in {
|
|||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "${
|
||||
inputs.hyprland.packages.${pkgs.system}.hyprland
|
||||
inputs'.hyprland.packages.hyprland
|
||||
}/bin/Hyprland --config ${hyprlandConfig}";
|
||||
user = username;
|
||||
};
|
||||
|
|
|
@ -9,6 +9,14 @@ with lib; let
|
|||
inherit (config.modules.other.system) username;
|
||||
in {
|
||||
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
||||
|
||||
config = mkIf cfg.enable {programs.ssh = {startAgent = true;};};
|
||||
config = {
|
||||
programs.ssh.startAgent = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
system,
|
||||
#system,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -17,7 +17,7 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
qt6.qtimageformats
|
||||
qt6.qt5compat
|
||||
quickshell.packages.${system}.default
|
||||
#quickshell.packages.${system}.default
|
||||
pamtester
|
||||
];
|
||||
home-manager.users.${username}.xdg.configFile."quickshell/manifest.conf".text = toKeyValue {} {
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
inputs',
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = inputs.niri.packages.${pkgs.system}.niri-unstable;
|
||||
package = inputs'.niri.packages.niri-unstable;
|
||||
};
|
||||
services = {
|
||||
greetd = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue