Possible fix for source not found issue
This commit is contained in:
parent
34c8e866f4
commit
2b83831179
4 changed files with 39 additions and 25 deletions
12
hosts/desktops/common/nix.nix
Normal file
12
hosts/desktops/common/nix.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
nixPath = [
|
||||
"nixpkgs=/etc/channels/nixpkgs"
|
||||
"nixos-config=/etc/nixos/configuration.nix"
|
||||
"/nix/var/nix/profiles/per-user/root/channels"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -5,30 +5,30 @@
|
|||
# Host-specific imports
|
||||
./io/hardware-configuration.nix
|
||||
# Host-common imports
|
||||
../../common/networking.nix
|
||||
../../common/services.nix
|
||||
../../common/packages.nix
|
||||
../../common/locale.nix
|
||||
../../common/users.nix
|
||||
../../common/boot.nix
|
||||
../../common/nix.nix
|
||||
# Desktop-common imports
|
||||
../common/virtualisation.nix
|
||||
../common/hardware.nix
|
||||
../common/networking.nix
|
||||
../common/services.nix
|
||||
../common/packages.nix
|
||||
../common/locale.nix
|
||||
../common/users.nix
|
||||
../common/boot.nix
|
||||
../common/nix.nix
|
||||
# Desktop-common imports
|
||||
./common/virtualisation.nix
|
||||
./common/hardware.nix
|
||||
./common/services.nix
|
||||
./common/packages.nix
|
||||
./common/users.nix
|
||||
./common/boot.nix
|
||||
];
|
||||
|
||||
networking.hostName = "io";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-network-displays
|
||||
maliit-keyboard
|
||||
rnote
|
||||
write_stylus
|
||||
];
|
||||
nix.nixPath = [ "nixos-config=/home/user/Projects/nix-config/hosts/desktops/io.nix" ];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
|
||||
boot.kernelParams = [
|
||||
"nosgx"
|
||||
|
|
@ -36,10 +36,12 @@
|
|||
"mem_sleep_default=deep"
|
||||
];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-network-displays
|
||||
maliit-keyboard
|
||||
rnote
|
||||
write_stylus
|
||||
];
|
||||
|
||||
services = {
|
||||
kmonad = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue