test
This commit is contained in:
parent
b01c7f3f7d
commit
316ea20450
2 changed files with 9 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
{ config, unstable, ... }: {
|
||||
# Use "unstable" instead of "pkgs" to get the latest packages, defined in "flake.nix"
|
||||
services.xserver = {
|
||||
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome
|
||||
# Enable the GNOME Desktop Environment.
|
||||
|
@ -46,7 +47,6 @@
|
|||
# Gnome relevant packages
|
||||
gnome3.gnome-tweaks
|
||||
papirus-icon-theme
|
||||
glibc
|
||||
];
|
||||
|
||||
imports = [
|
||||
|
|
13
flake.nix
13
flake.nix
|
@ -6,6 +6,7 @@
|
|||
inputs = {
|
||||
# NixOS packages
|
||||
stable-nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||
next-nixpkgs.url = "nixpkgs/nixos-23.11";
|
||||
unstable-nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
|
||||
# Manage dotfiles in a home directory
|
||||
|
@ -28,7 +29,7 @@
|
|||
|
||||
};
|
||||
|
||||
outputs = { stable-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, moz_overlay, nur, sops-nix, ... }@inputs:
|
||||
outputs = { stable-nixpkgs, next-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, moz_overlay, nur, sops-nix, ... }@inputs:
|
||||
let
|
||||
# Variables - Remember to set these
|
||||
hostname = "nixos-laptop";
|
||||
|
@ -44,6 +45,11 @@
|
|||
config = { allowUnfree = true; };
|
||||
};
|
||||
|
||||
next = import next-nixpkgs {
|
||||
inherit system;
|
||||
config = { allowUnfree = true; };
|
||||
};
|
||||
|
||||
lib = stable-nixpkgs.lib;
|
||||
unstable-lib = unstable-nixpkgs.lib;
|
||||
in {
|
||||
|
@ -51,10 +57,7 @@
|
|||
nixosConfigurations = {
|
||||
# Declare a generic configuration using the $hostname variable:
|
||||
${hostname} = lib.nixosSystem {
|
||||
inherit system;
|
||||
# Tell NixOS to inherit the "Unstable" packages defined above.
|
||||
# Used in the { } imports on each configuration file. See gnome.nix
|
||||
specialArgs = { inherit unstable; };
|
||||
inherit next unstable system;
|
||||
modules = [
|
||||
# Configuration Imports
|
||||
./hosts/${hostname}/hardware-configuration.nix # Hardware Configuration
|
||||
|
|
Loading…
Reference in a new issue