you mean Desktop Environment ?!, If it is, then yes, it doesn’t bring up the mount button automatically in the files and folder window manager.
No, Im still a beginner and haven’t gone to this level yet.
When i installed nixos, it was on 23.05. Later i installed flakes and then got it updated to 23.11 by changing the flakes input nixpkgs.url = "nixpkgs/nixos-23.05";
to nixpkgs.url = "nixpkgs/nixos-23.11";
(which is my current state). I thought flakes takes care of channels automatically.
This is my channels list currently,
❯ nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz
but i have this line in my flakes input,
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
so by definition, this should take care of adding the channels right ? Should i still need to do nix-channel -add ....-23.11
before updating to 24.05?
Do you mean nixos-rebuild
commands ? If it is, then i am able to currently run them(i mean it dosent throws any error), but when i tried to install usbutils
through configuration.nix and rebuild the system, it says command not found
To update from 23.11 to 24.05 correct me if im wrong, i should be changing the input of flakes like below, should i still add the channels using channel --add
& --update
. right ?!
inputs = {
- nixpkgs.url = "nixpkgs/nixos-23.11";
+ nixpkgs.url = "nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
And im not getting this point from the release notes of 24.05.
On flake-based NixOS configurations using nixpkgs.lib.nixosSystem
, NixOS will automatically set NIX_PATH
and the system-wide flake registry (/etc/nix/registry.json
) to point <nixpkgs>
and the unqualified flake path nixpkgs
to the version of nixpkgs used to build the system.
dose that mean, anything under this nixpkgs.lib.nixosSystem
should be changed in the flake.nix file?
This is my flake.nix,
......
let
lib = nixpkgs.lib;
in {
nixosConfigurations = {
system = lib.nixosSystem {
system = systemSettings.system;
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.users.${userSettings.username} = import ./home.nix;
home-manager.extraSpecialArgs = { inherit systemSettings userSettings pkgs-unstable; };
}
];
specialArgs = {
inherit systemSettings;
inherit userSettings;
inherit pkgs-unstable;
};
};
};
};
};