mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
3 commits
8c79c23251
...
e7eeafa399
Author | SHA1 | Date | |
---|---|---|---|
e7eeafa399 | |||
f89799649a | |||
4684c6a9d6 |
3 changed files with 28 additions and 16 deletions
32
flake.lock
32
flake.lock
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue