Update to 24.11 and install spotify

This commit is contained in:
2025-02-26 20:27:10 +01:00
parent bd24cb25dc
commit 5efedf035d
5 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
# setup-machines # setup-machines
This repo contains all the tools to correctly setup all the needed tools on a machine from clean install This repo contains all the tools to correctly setup all the needed tools on a machine from clean install
```sh
home-manager switch --flake .#noahk@NixOS_Desktop
```

View File

@@ -2,9 +2,9 @@
description = "A very basic flake"; description = "A very basic flake";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@@ -14,6 +14,8 @@
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
./spotify.nix
]; ];
nixpkgs = { nixpkgs = {
@@ -55,5 +57,5 @@
systemd.user.startServices = sd-switch; systemd.user.startServices = sd-switch;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = 24.05; home.stateVersion = 24.11;
} }

5
home-manager/spotify.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs, ... }: {
programs.spotify = {
enable = true;
}
}

View File

@@ -117,6 +117,6 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.11"; # Did you read the comment?
} }