Lock flakes and add inputs

This commit is contained in:
2023-04-26 17:36:36 +02:00
parent 543983e9f3
commit 44fcb97ec7
7 changed files with 146 additions and 32 deletions

View File

@@ -6,7 +6,6 @@
./fs.nix
./hw.nix
./net.nix
./overlays.nix
./ssh.nix
./users.nix
];
@@ -38,11 +37,12 @@
programs.zsh.enable = true;
programs.zsh.histSize = 100000;
users.defaultUserShell = pkgs.zsh;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
system.copySystemConfiguration = true;
#system.copySystemConfiguration = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions

View File

@@ -1,21 +1,9 @@
{ options, ... }:
let
bscpkgsSrc = builtins.fetchTarball "https://pm.bsc.es/gitlab/rarias/bscpkgs/-/archive/master/bscpkgs-master.tar.gz";
bscpkgs = import "${bscpkgsSrc}/overlay.nix";
in
{
nix.nixPath =
# Prepend default nixPath values.
options.nix.nixPath.default ++
# Append our nixpkgs-overlays.
[ "nixpkgs-overlays=/config/overlays-compat/" ]
;
nixpkgs.overlays = [
bscpkgs
];
[ "nixpkgs-overlays=${../overlays-compat}" ];
}