Make redshift nixos module
This commit is contained in:
@ -48,6 +48,7 @@
|
||||
|
||||
i3.enable = true;
|
||||
gdm.enable = true;
|
||||
redshift.enable = true;
|
||||
|
||||
# wayland.enable = true;
|
||||
# hyprland.enable = true;
|
||||
@ -75,13 +76,6 @@
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
# systemd.services."wg-quick@julian".enable = true;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
xdg.portal.config.common.default = "*"; # Use first portal implementation found
|
||||
# networking.wireguard.enable = true;
|
||||
|
||||
# This interface is started on boot / switch
|
||||
networking.wg-quick.interfaces = {
|
||||
julian = {
|
||||
@ -90,17 +84,10 @@
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = false;
|
||||
|
||||
services.flatpak.enable = true;
|
||||
|
||||
# services.emacs.enable = true;
|
||||
|
||||
# services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Packages needed as root
|
||||
environment.systemPackages = with pkgs; [
|
||||
@ -116,8 +103,6 @@
|
||||
brightnessctl
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
system.stateVersion = "24.05";
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
|
@ -38,14 +38,9 @@
|
||||
xdg-portal.enable = true;
|
||||
polkit.enable = true;
|
||||
keyring.enable = true;
|
||||
redshift.enable = true;
|
||||
};
|
||||
|
||||
# Set location used by redshift
|
||||
location.provider = "manual";
|
||||
location.latitude = 47.92;
|
||||
location.longitude = 10.12;
|
||||
services.redshift.enable = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
|
||||
# hardware.nvidia.modesetting.enable = true; # for wayland
|
||||
@ -58,40 +53,22 @@
|
||||
# services.avahi.nssmdns = true;
|
||||
services.printing.drivers = with pkgs; [ gutenprint ];
|
||||
|
||||
# users.groups.wolfi = { gid = 1001; };
|
||||
|
||||
# users.users.wolfi = {
|
||||
# isNormalUser = true;
|
||||
# description = "Wolfi";
|
||||
# uid = 1001;
|
||||
# group = "wolfi";
|
||||
# shell = pkgs.fish;
|
||||
# extraGroups = [ "networkmanager" "wheel" ];
|
||||
# };
|
||||
|
||||
# List services that you want to enable:
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = false;
|
||||
|
||||
services.flatpak.enable = true;
|
||||
|
||||
# Smart card reader
|
||||
services.pcscd.enable = true;
|
||||
|
||||
# services.emacs.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Packages needed as root
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
htop
|
||||
mc
|
||||
gparted-xhost # needs to be installed as system package so it can be actually opened
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
system.stateVersion = "22.11";
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
|
Reference in New Issue
Block a user