Don't use nix-channels

This commit is contained in:
Charlotte Van Petegem 2020-07-08 16:42:03 +02:00
parent 32ba100ee4
commit 280fdeeab0
17 changed files with 229 additions and 82 deletions

View file

@ -0,0 +1,40 @@
{ pkgs, lib, ... }:
{
imports = [
./hardware.nix
./secret.nix
../../configurations/eid.nix
../../profiles/bluetooth.nix
../../profiles/common.nix
../../profiles/graphical.nix
];
networking = {
hostId = "3cc1a4b2";
hostName = "kholinar";
};
time.timeZone = "Europe/Brussels";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09";
home-manager.users.charlotte = { ... }: {
home.stateVersion = "20.09";
};
# Machine-specific settings
custom = {
git.email = "charlotte@vanpetegem.me";
zfs = {
enable = true;
encrypted = true;
};
};
}

View file

@ -1,40 +1,9 @@
{ pkgs, lib, ... }:
{
imports = [
./hardware.nix
./secret.nix
../../configurations/eid.nix
../../profiles/bluetooth.nix
../../profiles/common.nix
../../profiles/graphical.nix
];
networking = {
hostId = "3cc1a4b2";
hostName = "kholinar";
let
lib = import ../../lib.nix;
system = lib.mkSystem {
nixpkgs = (lib.findImport "nixpkgs");
extraModules = [ ./configuration.nix ];
system = "x86_64-linux";
};
time.timeZone = "Europe/Brussels";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09";
home-manager.users.charlotte = { ... }: {
home.stateVersion = "20.09";
};
# Machine-specific settings
custom = {
git.email = "charlotte@vanpetegem.me";
zfs = {
enable = true;
encrypted = true;
};
};
}
in
system.config.system.build.toplevel

View file

@ -0,0 +1,33 @@
{ config, pkgs, ... }:
{
imports = [
./hardware.nix
./secret.nix
../../configurations/eid.nix
../../profiles/bluetooth.nix
../../profiles/common.nix
../../profiles/graphical.nix
];
networking.hostName = "oldtown";
time.timeZone = "Europe/Brussels";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.03";
home-manager.users.charlotte = { ... }: {
home.stateVersion = "20.03";
};
# Machine-specific application settings
custom = {
git.email = "charlotte.vanpetegem@ugent.be";
};
}

View file

@ -1,33 +1,9 @@
{ config, pkgs, ... }:
{
imports = [
./hardware.nix
./secret.nix
../../configurations/eid.nix
../../profiles/bluetooth.nix
../../profiles/common.nix
../../profiles/graphical.nix
];
networking.hostName = "oldtown";
time.timeZone = "Europe/Brussels";
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.03";
home-manager.users.charlotte = { ... }: {
home.stateVersion = "20.03";
let
lib = import ../../lib.nix;
system = lib.mkSystem {
nixpkgs = (lib.findImport "nixpkgs");
extraModules = [ ./configuration.nix ];
system = "x86_64-linux";
};
# Machine-specific application settings
custom = {
git.email = "charlotte.vanpetegem@ugent.be";
};
}
in
system.config.system.build.toplevel

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
loader = {