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

View file

@ -5,7 +5,10 @@
inputs = { inputs = {
# NixOS packages # 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 # 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";
@ -34,10 +37,15 @@
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
# Tells Flake what OS version we are using
inherit system; inherit system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
unstable-pkgs = import unstable-nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
lib = nixpkgs.lib; lib = nixpkgs.lib;
in { in {
# NixOS Configuration files: # NixOS Configuration files: