aboutsummaryrefslogtreecommitdiff
path: root/phone/default.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-08-01 02:33:11 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-08-01 02:33:11 +0200
commit3e71c337faaf633ae46d4499028caa43817fd4e7 (patch)
tree2c9739dbe4c780a3636213fa5f4e278da4ac81bd /phone/default.nix
parentb423e2a14bd27c37c654ec834fc16a04169780b5 (diff)
Add phone configuration
Diffstat (limited to 'phone/default.nix')
-rw-r--r--phone/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/phone/default.nix b/phone/default.nix
new file mode 100644
index 0000000..8d2c5bd
--- /dev/null
+++ b/phone/default.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }:
+{
+ # Backup etc files instead of failing to activate generation if a file already exists in /etc
+ environment.etcBackupExtension = ".bak";
+
+ # Read the changelog before changing this value
+ system.stateVersion = "24.05";
+
+ home-manager = {
+ config = ./home.nix;
+ backupFileExtension = "hm-bak";
+ useGlobalPkgs = true;
+ };
+
+ users.shell = "${pkgs.fish}/bin/fish";
+}