Compare commits

..

3 commits

Author SHA1 Message Date
e7eeafa399
flake.lock: Update
Flake lock file updates:

• Updated input 'viminal':
    'git+https://code.youwen.dev/youwen5/viminal2?ref=refs/heads/main&rev=7346c8991bf035d0ab9fc7d054bf24b2b241f576' (2024-10-11)
  → 'git+https://code.youwen.dev/youwen5/viminal2?ref=refs/heads/main&rev=f4f7326044ae5afa36a85cbfe801ba6cfc2207b7' (2024-10-12)
2024-10-11 21:08:50 -07:00
f89799649a
feat: add rebuild and updater scripts 2024-10-11 15:34:57 -07:00
4684c6a9d6
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/8bb5d53c5847d9a9b2ad1bda49f9aa9df0de282a' (2024-10-10)
  → 'github:nix-community/home-manager/2b13611eaed8326789f76f70d21d06fbb14e3e47' (2024-10-11)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/2535cdb3a57bff70300dfa932217bd08db6ac9ec' (2024-10-10)
  → 'github:homebrew/homebrew-cask/f49433cc1890ae32b79151cf632310e68884db30' (2024-10-11)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/d6f56dfca3dbb0b6b332501bbda4c036876d4c63' (2024-10-10)
  → 'github:homebrew/homebrew-core/bd26ffb09205084a18b13274b7a92fa48416511a' (2024-10-11)
• Updated input 'spicetify':
    'github:Gerg-L/spicetify-nix/d6e8bdf856dfba9f704fd58df4c865be8d819b30' (2024-10-10)
  → 'github:Gerg-L/spicetify-nix/b4702ed0b3d634367e28c4d042bd1fd3fb29b692' (2024-10-11)
2024-10-11 15:34:13 -07:00
3 changed files with 28 additions and 16 deletions

View file

@ -632,11 +632,11 @@
]
},
"locked": {
"lastModified": 1728588172,
"narHash": "sha256-wCLcOMOyiFHa4MfAT1SR8jj47GcmCXiR93kgFs38bVY=",
"lastModified": 1728685293,
"narHash": "sha256-1WowL96pksT/XCi+ZXHgqiQ9NiU5oxWuNIQYWqOoEYc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "8bb5d53c5847d9a9b2ad1bda49f9aa9df0de282a",
"rev": "2b13611eaed8326789f76f70d21d06fbb14e3e47",
"type": "github"
},
"original": {
@ -648,11 +648,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1728589476,
"narHash": "sha256-YNv/P3sGzyKyag4Ght9a22SYAQFLuZKL0+K1CYHPQlI=",
"lastModified": 1728684443,
"narHash": "sha256-lHQahPedE1xs3JR1qcsa4Zn1RxhjzQQv4Wi8vxEoHiM=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "2535cdb3a57bff70300dfa932217bd08db6ac9ec",
"rev": "f49433cc1890ae32b79151cf632310e68884db30",
"type": "github"
},
"original": {
@ -664,11 +664,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1728593820,
"narHash": "sha256-0xPioDljZRjYkJsQ77SVvmqyKsFCLon9Ykv0hSysWrc=",
"lastModified": 1728685265,
"narHash": "sha256-gRk/PUBOtyeGyhAYKd5d8PVD9EZ5MFFgCKsaejD62eE=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "d6f56dfca3dbb0b6b332501bbda4c036876d4c63",
"rev": "bd26ffb09205084a18b13274b7a92fa48416511a",
"type": "github"
},
"original": {
@ -1390,11 +1390,11 @@
]
},
"locked": {
"lastModified": 1728533825,
"narHash": "sha256-3+Sz3NWHQZWLsIr4B/Q2CSmZmpQyk/tE7rTB6urzjZI=",
"lastModified": 1728620224,
"narHash": "sha256-YfiNICuQO/+HheUQ9P9ijFOzQpiC7YmotA0W28fbRbE=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "d6e8bdf856dfba9f704fd58df4c865be8d819b30",
"rev": "b4702ed0b3d634367e28c4d042bd1fd3fb29b692",
"type": "github"
},
"original": {
@ -1510,11 +1510,11 @@
"plugins-typst-preview": "plugins-typst-preview"
},
"locked": {
"lastModified": 1728677634,
"narHash": "sha256-0j7o7ayC4TDEnW8T5MyKNFDGrBL32uoZlrBsgAbh3Eg=",
"lastModified": 1728706087,
"narHash": "sha256-i3C4H+v5mcFfTF9nKEsgkVoDVO7wN/bdSKGjfHU+/UA=",
"ref": "refs/heads/main",
"rev": "7346c8991bf035d0ab9fc7d054bf24b2b241f576",
"revCount": 21,
"rev": "f4f7326044ae5afa36a85cbfe801ba6cfc2207b7",
"revCount": 22,
"type": "git",
"url": "https://code.youwen.dev/youwen5/viminal2"
},

View file

@ -1,6 +1,7 @@
{
inputs,
system,
osConfig,
...
}:
{
@ -28,6 +29,7 @@
home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = {
inherit inputs;
inherit osConfig;
};
home-manager.users.youwen = {
imports = [

View file

@ -1,6 +1,7 @@
{
inputs,
pkgs,
osConfig,
...
}:
{
@ -71,4 +72,13 @@
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
programs.fish.functions = {
rebuild = ''doas nixos-rebuild --flake ~/.config/liminalOS\#${osConfig.networking.hostName} switch &| nom'';
nixos-update = ''
cd ~/.config/liminalOS
nix flake update --commit-lock-file
doas nixos-rebuild --flake ~/.config/liminalOS\#${osConfig.networking.hostName} switch &| nom
'';
};
}