Lots of changes
This commit is contained in:
parent
d4d7833561
commit
4abedcce78
2 changed files with 63 additions and 13 deletions
|
|
@ -41,11 +41,16 @@
|
||||||
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
|
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.enable = true;
|
|
||||||
|
# Enable required services for Wayland
|
||||||
|
security.polkit.enable = true;
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
|
||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
mpv
|
||||||
wget
|
wget
|
||||||
alacritty
|
alacritty
|
||||||
fuzzel
|
fuzzel
|
||||||
|
|
@ -82,7 +87,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
inputs.apple-fonts.packages."${system}".sf-pro
|
inputs.apple-fonts.packages."${pkgs.stdenv.hostPlatform.system}".sf-pro
|
||||||
noto-fonts-color-emoji
|
noto-fonts-color-emoji
|
||||||
(iosevka.override {
|
(iosevka.override {
|
||||||
set = "cavalier";
|
set = "cavalier";
|
||||||
|
|
@ -141,5 +146,48 @@
|
||||||
mode = "0755";
|
mode = "0755";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable greetd
|
||||||
|
# services.greetd = {
|
||||||
|
# enable = true;
|
||||||
|
# settings = {
|
||||||
|
# default_session = {
|
||||||
|
# command = "${pkgs.niri}/bin/niri --config /etc/greetd/niri.kdl";
|
||||||
|
# user = "greeter";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
|
||||||
|
# Enable regreet
|
||||||
|
programs.regreet = {
|
||||||
|
enable = true;
|
||||||
|
font.name = "SF Pro";
|
||||||
|
font.size = 16;
|
||||||
|
font.package = inputs.apple-fonts.packages."${pkgs.stdenv.hostPlatform.system}".sf-pro;
|
||||||
|
settings = {
|
||||||
|
GTK = {
|
||||||
|
font_name = lib.mkForce "SF Pro 16";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Create the niri config for greetd
|
||||||
|
# environment.etc."greetd/niri.kdl".text = ''
|
||||||
|
# spawn-sh-at-startup "regreet; niri msg action quit --skip-confirmation"
|
||||||
|
#
|
||||||
|
# hotkey-overlay {
|
||||||
|
# skip-at-startup
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# cursor {
|
||||||
|
# xcursor-theme "Adwaita"
|
||||||
|
# xcursor-size 24
|
||||||
|
# }
|
||||||
|
# '';
|
||||||
|
|
||||||
|
# Optional: Enable niri for user sessions
|
||||||
|
programs.niri.enable = true;
|
||||||
|
|
||||||
|
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ let
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
# I2C
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
i2c-tools
|
i2c-tools
|
||||||
lm_sensors
|
lm_sensors
|
||||||
|
|
@ -29,15 +30,16 @@ in
|
||||||
|
|
||||||
# OpenRGB
|
# OpenRGB
|
||||||
services.udev.packages = [ pkgs.openrgb ];
|
services.udev.packages = [ pkgs.openrgb ];
|
||||||
services.hardware.openrgb.enable = true;
|
services.hardware.openrgb = {
|
||||||
systemd.services.no-rgb = {
|
enable = true;
|
||||||
description = "no-rgb";
|
startupProfile = "off";
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${no-rgb}/bin/no-rgb";
|
|
||||||
Type = "oneshot";
|
|
||||||
};
|
|
||||||
after = [ "openrgb.service" ];
|
|
||||||
requires = [ "openrgb.service" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
};
|
||||||
|
# systemd.services.no-rgb = {
|
||||||
|
# description = "no-rgb";
|
||||||
|
# serviceConfig = {
|
||||||
|
# ExecStart = "${no-rgb}/bin/no-rgb";
|
||||||
|
# Type = "oneshot";
|
||||||
|
# };
|
||||||
|
# wantedBy = [ "multi-user.target" ];
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue