This commit is contained in:
albert 2024-04-08 21:56:39 +09:00
parent 8c08c4478d
commit 05d66e4a0e
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
4 changed files with 21 additions and 8 deletions

View file

@ -10,6 +10,10 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Nix colorizer / themer
stylix.url = "github:danth/stylix/release-23.11";
# nixvim - neovim configuration management in nix
nixvim.url = "github:nix-community/nixvim/nixos-23.11";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
# lanzaboote - Secureboot Configuration
lanzaboote.url = "github:nix-community/lanzaboote";
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
@ -43,9 +47,6 @@
compose2nix.inputs.nixpkgs.follows = "nixpkgs";
# Hyprland Flake
hyprland.url = "github:hyprwm/Hyprland";
# nixvim - neovim configuration management in nix
nixvim.url = "github:nix-community/nixvim/nixos-23.11";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs:
let

View file

@ -47,9 +47,21 @@
definedAliases = [ "@np" ];
};
"NixOS Options" = {
urls = [{
template = "https://search.nixos.org/options";
params = [
{ name = "type"; value = "options"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@no" ];
};
"NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://wiki.nixos.org/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ];
};

View file

@ -4,9 +4,8 @@
];
# Enable sound with pipewire.
nixpkgs.config.pulseaudio = true;
hardware.pulseaudio.enable = false;
sound.enable = true;
hardware.pulseaudio.enable = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;

View file

@ -1,4 +1,4 @@
{ desktop, username, ... }: {
{ pkgs, desktop, username, ... }: {
imports = [
../../users/${username}
../../common/desktops/${desktop}
@ -7,4 +7,5 @@
services.xrdp.openFirewall = true;
services.xrdp.enable = true;
environment.systemPackages = [ pkgs.pulseaudio-module-xrdp ];
}