test
This commit is contained in:
parent
fe35cf4042
commit
78e72248c5
2 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ config, gnomepkgs, ... }: {
|
{ config, master, ... }: {
|
||||||
# Use "gnomepkgs" instead of "pkgs" to get the latest packages, defined in "flake.nix"
|
# Use "master" instead of "pkgs" to get the latest packages, defined in "flake.nix"
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome
|
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome
|
||||||
# Enable the GNOME Desktop Environment.
|
# Enable the GNOME Desktop Environment.
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/GNOME
|
# https://nixos.wiki/wiki/GNOME
|
||||||
# Remove unwanted packages
|
# Remove unwanted packages
|
||||||
environment.gnome.excludePackages = (with gnomepkgs.pkgs; [
|
environment.gnome.excludePackages = (with master.pkgs; [
|
||||||
gnome.cheese
|
gnome.cheese
|
||||||
gnome.gnome-music
|
gnome.gnome-music
|
||||||
gnome.epiphany
|
gnome.epiphany
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
gnome.simple-scan
|
gnome.simple-scan
|
||||||
]);
|
]);
|
||||||
|
|
||||||
environment.systemPackages = with gnomepkgs.pkgs; [
|
environment.systemPackages = with master.pkgs; [
|
||||||
# Gnome Extensions
|
# Gnome Extensions
|
||||||
gnomeExtensions.tiling-assistant
|
gnomeExtensions.tiling-assistant
|
||||||
gnomeExtensions.dash-to-dock
|
gnomeExtensions.dash-to-dock
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# NixOS packages
|
# NixOS packages
|
||||||
stable-nixpkgs.url = "nixpkgs/nixos-23.05";
|
stable-nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||||
unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
|
unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
gnome-nixpkgs.url = "nixpkgs/gnomeExt-compile-schemas";
|
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";
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { stable-nixpkgs, gnome-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, moz_overlay, nur, sops-nix, ... }@inputs:
|
outputs = { stable-nixpkgs, master-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, moz_overlay, nur, sops-nix, ... }@inputs:
|
||||||
let
|
let
|
||||||
# Variables - Remember to set these
|
# Variables - Remember to set these
|
||||||
hostname = "nixos-laptop";
|
hostname = "nixos-laptop";
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
gnomepkgs = import gnome-nixpkgs {
|
master = import master-nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
};
|
};
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# Declare a generic configuration using the $hostname variable:
|
# Declare a generic configuration using the $hostname variable:
|
||||||
${hostname} = lib.nixosSystem {
|
${hostname} = lib.nixosSystem {
|
||||||
inherit gnomepkgs unstable system;
|
inherit master unstable system;
|
||||||
modules = [
|
modules = [
|
||||||
# Configuration Imports
|
# Configuration Imports
|
||||||
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
||||||
|
|
Loading…
Reference in a new issue