This commit is contained in:
iFargle 2023-08-22 20:39:25 +09:00
parent 7042c21301
commit de6452d908
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, hostname, ... }: { { config, pkgs, master-pkgs, hostname, ... }: {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -102,7 +102,7 @@
gnome.simple-scan gnome.simple-scan
]); ]);
environment.systemPackages = with pkgs; [ environment.systemPackages = with master-pkgs.pkgs; [
# Gnome Extensions # Gnome Extensions
gnomeExtensions.tiling-assistant gnomeExtensions.tiling-assistant
gnomeExtensions.dash-to-dock gnomeExtensions.dash-to-dock

View file

@ -6,6 +6,7 @@
inputs = { inputs = {
# NixOS packages # NixOS packages
unstable-nixpkgs.url = "nixpkgs/nixos-unstable"; unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
master-nixpkgs.url = "nixpkgs/master";
# Manage dotfiles in a home directory # Manage dotfiles in a home directory
home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.url = "github:nix-community/home-manager/release-23.05";
@ -45,6 +46,10 @@
inherit system; inherit system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
master-pkgs = import master-nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
lib = unstable-nixpkgs.lib; lib = unstable-nixpkgs.lib;
in { in {
@ -55,6 +60,7 @@
inherit system; inherit system;
specialArgs = { specialArgs = {
inherit hostname; inherit hostname;
inherit master-pkgs;
}; };
modules = [ modules = [
# Configuration Imports # Configuration Imports