Flakes, but it doesn't work 😞
This commit is contained in:
parent
50cb3fabb7
commit
c59fd9a5a7
16 changed files with 206 additions and 220 deletions
|
@ -1,40 +0,0 @@
|
|||
{ 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. It‘s 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,9 +1,40 @@
|
|||
let
|
||||
lib = import ../../lib.nix;
|
||||
system = lib.mkSystem {
|
||||
nixpkgs = (lib.findImport "nixpkgs");
|
||||
extraModules = [ ./configuration.nix ];
|
||||
system = "x86_64-linux";
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./secret.nix
|
||||
../../configurations/eid.nix
|
||||
../../profiles/bluetooth.nix
|
||||
../../profiles/common.nix
|
||||
../../profiles/graphical.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostId = "3cc1a4b2";
|
||||
hostName = "kholinar";
|
||||
};
|
||||
in
|
||||
system.config.system.build.toplevel
|
||||
|
||||
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. It‘s 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue