Fix allowUnfree and add obsidian
This commit is contained in:
parent
9aa51a9446
commit
fd45324727
3 changed files with 6 additions and 13 deletions
lib/nixos
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
inputs,
|
||||
desktop ? false,
|
||||
pkgs,
|
||||
system,
|
||||
}: let
|
||||
}: {pkgs, ...}: let
|
||||
configure-gtk = pkgs.writeTextFile {
|
||||
name = "configure-gtk";
|
||||
destination = "/bin/configure-gtk";
|
||||
|
@ -20,11 +19,7 @@
|
|||
|
||||
username = "opdavies";
|
||||
in {
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
@ -137,6 +132,7 @@ in {
|
|||
arandr
|
||||
dunst
|
||||
libnotify
|
||||
obsidian
|
||||
rclone
|
||||
rclone-browser
|
||||
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
system,
|
||||
username,
|
||||
}: {
|
||||
desktop ? false,
|
||||
}: let
|
||||
configuration = import ./configuration.nix {inherit desktop inputs pkgs system;};
|
||||
configuration = import ./configuration.nix {inherit desktop inputs system;};
|
||||
hardwareConfiguration = import ./hardware-configuration.nix;
|
||||
in
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue