configured Quark (hopefully final)
This commit is contained in:
@@ -14,14 +14,14 @@
|
|||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
hm-stable = {
|
# hm-stable = {
|
||||||
url = "github:nix-community/home-manager/release-25.05";
|
# url = "github:nix-community/home-manager/release-25.05";
|
||||||
inputs.nixpkgs-stable.follows = "nixpkgs";
|
# inputs.nixpkgs-stable.follows = "nixpkgs";
|
||||||
};
|
# };
|
||||||
zapret.url = "github:n0vvvonder/zapret-flake.nix";
|
zapret.url = "github:n0vvvonder/zapret-flake.nix";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, ...}@inputs: {
|
outputs = { self, nixpkgs, impermanence, home-manager, zapret, nixpkgs-stable, ...}@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Ratchet = nixpkgs.lib.nixosSystem {
|
Ratchet = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -90,14 +90,15 @@
|
|||||||
impermanence.nixosModules.impermanence
|
impermanence.nixosModules.impermanence
|
||||||
./hosts/generic/configuration_generic.nix
|
./hosts/generic/configuration_generic.nix
|
||||||
./hosts/generic/users.nix
|
./hosts/generic/users.nix
|
||||||
hm-stable.nixosModules.home-manager {
|
./hosts/Quark/Quark_hardware.nix
|
||||||
home-manager.useUserPackages = true;
|
# hm-stable.nixosModules.home-manager {
|
||||||
home-manager.users.yaroslav = {
|
# home-manager.useUserPackages = true;
|
||||||
imports = [
|
# home-manager.users.yaroslav = {
|
||||||
./home/yaroslav/home.nix
|
# imports = [
|
||||||
];
|
# ./home/yaroslav/home.nix
|
||||||
};
|
# ];
|
||||||
}
|
# };
|
||||||
|
# }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -12,21 +12,25 @@
|
|||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.initrd.network.enable = true;
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "192.168.1.222:/share/nixos-1";
|
device = "/dev/sda4";
|
||||||
fsType = "nfs4";
|
fsType = "btrfs";
|
||||||
options = [ "defaults" ];
|
options = [ "subvol=@" ];
|
||||||
|
};
|
||||||
|
fileSystems."/nix" = {
|
||||||
|
device = "/dev/sda4";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=@nix" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
#networking.useDHCP = lib.mkDefault true;
|
||||||
boot.initrd.network.flushBeforeStage2 = false;
|
#boot.initrd.network.flushBeforeStage2 = false;
|
||||||
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user