This commit is contained in:
iFargle 2023-07-02 19:02:06 +09:00
parent e88890a536
commit 202aaf766c
2 changed files with 13 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ config, pkgs, unstable-pkgs, ... }: {
services.xserver = {
# Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true;
@ -13,7 +13,7 @@
# https://nixos.wiki/wiki/GNOME
# Remove unwanted packages
environment.gnome.excludePackages = (with pkgs; [
environment.gnome.excludePackages = (with unstable-pkgs; [
gnome.cheese
gnome.gnome-music
gnome.epiphany
@ -31,7 +31,7 @@
gnome.simple-scan
]);
environment.systemPackages = with pkgs; [
environment.systemPackages = with unstable-pkgs; [
# Gnome Extensions
gnomeExtensions.tiling-assistant
gnomeExtensions.dash-to-dock

View file

@ -5,7 +5,10 @@
inputs = {
# NixOS packages
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs.url = "nixpkgs/nixos-23.05";
# Bleeding edge nixpkgs
unstable-nixpkgs.url = "nixpkgs/nixos-unstable"
# Manage dotfiles in a home directory
home-manager.url = "github:nix-community/home-manager/release-23.05";
@ -34,10 +37,15 @@
system = "x86_64-linux";
pkgs = import nixpkgs {
# Tells Flake what OS version we are using
inherit system;
config = { allowUnfree = true; };
};
unstable-pkgs = import unstable-nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
lib = nixpkgs.lib;
in {
# NixOS Configuration files: