upgrade uhk
This commit is contained in:
parent
0a06ecc41f
commit
20c689c882
2 changed files with 35 additions and 32 deletions
65
flake.nix
65
flake.nix
|
@ -149,7 +149,10 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
(_self: _super: {
|
(_self: _super: {
|
||||||
# we assign the overlay created before to the overlays of nixpkgs.
|
# we assign the overlay created before to the overlays of nixpkgs.
|
||||||
unstable = nixpkgs-unstable.legacyPackages.${pkgs.system};
|
unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
legacy = nixpkgs-legacy.legacyPackages.${pkgs.system};
|
legacy = nixpkgs-legacy.legacyPackages.${pkgs.system};
|
||||||
polygon-art = polygon-art.packages.${pkgs.system};
|
polygon-art = polygon-art.packages.${pkgs.system};
|
||||||
landingpage = landingpage.packages.${pkgs.system}.plain;
|
landingpage = landingpage.packages.${pkgs.system}.plain;
|
||||||
|
@ -214,38 +217,38 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sterni = { name, nodes, pkgs, ... }: {
|
#sterni = { name, nodes, pkgs, ... }: {
|
||||||
deployment.allowLocalDeployment = true;
|
# deployment.allowLocalDeployment = true;
|
||||||
deployment.targetHost = "${name}.private";
|
# deployment.targetHost = "${name}.private";
|
||||||
deployment.tags = [ "desktop" "online" "private" ];
|
# deployment.tags = [ "desktop" "online" "private" ];
|
||||||
imports = [
|
# imports = [
|
||||||
grocy-scanner.nixosModule
|
# grocy-scanner.nixosModule
|
||||||
nixos-hardware.nixosModules.lenovo-thinkpad-x220
|
# nixos-hardware.nixosModules.lenovo-thinkpad-x220
|
||||||
retiolum.nixosModules.retiolum
|
# retiolum.nixosModules.retiolum
|
||||||
];
|
# ];
|
||||||
|
|
||||||
home-manager.users.mainUser = {
|
# home-manager.users.mainUser = {
|
||||||
imports = [
|
# imports = [
|
||||||
doom-emacs-nix.hmModule
|
# doom-emacs-nix.hmModule
|
||||||
home-manager-utils.hmModule
|
# home-manager-utils.hmModule
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
|
|
||||||
sternchen = { name, nodes, pkgs, ... }: {
|
#sternchen = { name, nodes, pkgs, ... }: {
|
||||||
deployment.targetHost = "${name}.secret";
|
# deployment.targetHost = "${name}.secret";
|
||||||
deployment.tags = [ "desktop" ];
|
# deployment.tags = [ "desktop" ];
|
||||||
imports = [
|
# imports = [
|
||||||
grocy-scanner.nixosModule
|
# grocy-scanner.nixosModule
|
||||||
];
|
# ];
|
||||||
home-manager.users.mainUser = {
|
# home-manager.users.mainUser = {
|
||||||
imports = [
|
# imports = [
|
||||||
doom-emacs-nix.hmModule
|
# doom-emacs-nix.hmModule
|
||||||
home-manager-utils.hmModule
|
# home-manager-utils.hmModule
|
||||||
];
|
# ];
|
||||||
programs.doom-emacs.enable = false;
|
# programs.doom-emacs.enable = false;
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
|
|
||||||
pepe = { name, nodes, pkgs, ... }: {
|
pepe = { name, nodes, pkgs, ... }: {
|
||||||
deployment.targetHost = "${name}.private";
|
deployment.targetHost = "${name}.private";
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
# only needed if you have an UHK
|
# only needed if you have an UHK
|
||||||
hardware.keyboard.uhk.enable = true;
|
hardware.keyboard.uhk.enable = true;
|
||||||
environment.systemPackages = [ pkgs.uhk-agent ];
|
environment.systemPackages = [ pkgs.unstable.uhk-agent ];
|
||||||
users.users.mainUser.extraGroups = [ "input" ];
|
users.users.mainUser.extraGroups = [ "input" ];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
Loading…
Reference in a new issue